mirror of
https://review.haiku-os.org/haiku
synced 2025-02-23 22:18:13 +01:00
104 lines
5.8 KiB
HTML
104 lines
5.8 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
|
<head>
|
|
<!--
|
|
*
|
|
* Copyright 2008-2009, Haiku. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Humdinger <humdingerb@gmail.com>
|
|
* Translators:
|
|
* Gabriele
|
|
*
|
|
-->
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
|
<meta name="robots" content="all" />
|
|
<title>StyledEdit</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div id="banner">
|
|
<div><span>Guida dell'utente</span></div>
|
|
</div>
|
|
|
|
<div class="nav">
|
|
<div class="inner">
|
|
<ul class="lang-menu">
|
|
<li class="now">Italiano <span class="dropdown-caret">▼</span></li>
|
|
<li><a href="../../id/applications/stylededit.html">Bahasa Indonesia</a></li>
|
|
<li><a href="../../ca/applications/stylededit.html">Català</a></li>
|
|
<li><a href="../../de/applications/stylededit.html">Deutsch</a></li>
|
|
<li><a href="../../en/applications/stylededit.html">English</a></li>
|
|
<li><a href="../../es/applications/stylededit.html">Español</a></li>
|
|
<li><a href="../../fr/applications/stylededit.html">Français</a></li>
|
|
<li><a href="../../fur/applications/stylededit.html">Furlan</a></li>
|
|
<li><a href="../../hu/applications/stylededit.html">Magyar</a></li>
|
|
<li><a href="../../pl/applications/stylededit.html">Polski</a></li>
|
|
<li><a href="../../pt_PT/applications/stylededit.html">Português</a></li>
|
|
<li><a href="../../pt_BR/applications/stylededit.html">Português (Brazil)</a></li>
|
|
<li><a href="../../ro/applications/stylededit.html">Română</a></li>
|
|
<li><a href="../../sk/applications/stylededit.html">Slovenčina</a></li>
|
|
<li><a href="../../fi/applications/stylededit.html">Suomi</a></li>
|
|
<li><a href="../../sv_SE/applications/stylededit.html">Svenska</a></li>
|
|
<li><a href="../../tr/applications/stylededit.html">Türkçe</a></li>
|
|
<li><a href="../../zh_CN/applications/stylededit.html"> 中文 [中文]</a></li>
|
|
<li><a href="../../ru/applications/stylededit.html">Русский</a></li>
|
|
<li><a href="../../uk/applications/stylededit.html">Українська</a></li>
|
|
<li><a href="../../jp/applications/stylededit.html">日本語</a></li>
|
|
</ul>
|
|
<span>
|
|
« <a href="soundrecorder.html">Registratore di Suoni</a>
|
|
:: <a href="../applications.html#list-of-apps" class="uplink">Applicazioni</a>
|
|
:: <a href="terminal.html">Terminale</a> »
|
|
</span></div>
|
|
</div>
|
|
|
|
<div id="content">
|
|
<div>
|
|
<div class="box-info">La traduzione di questa pagina non è stata ancora completata. Finché non lo sarà, le parti non tradotte saranno visualizzate in inglese.</div>
|
|
|
|
<h2><img src="../../images/apps-images/stylededit-icon_64.png" alt="stylededit-icon_64.png" width="64" height="64" />StyledEdit</h2>
|
|
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
|
<tr><td>Deskbar:</td><td style="width:15px;"></td><td><span class="menu">Applicazioni</span></td></tr>
|
|
<tr><td>Percorso:</td><td></td><td><span class="path">/boot/system/apps/StyledEdit</span></td></tr>
|
|
<tr><td>Impostazioni:</td><td></td><td><i>nessuna</i></td></tr>
|
|
</table>
|
|
<p><br /></p>
|
|
<p>StyledEdit è il semplice editor di testo fornito con Haiku. Per quanto salvi i file in formato puro testo, supporta attributi addizionali affinché al testo possano essere applicate alcune semplici regole di formattazione, quando StyledEdit è utilizzato per visuaizzare il file.Although it saves files in plain text format, additional attributes are written in order to have limited formatting capabilities when viewed with StyledEdit.</p>
|
|
<img src="../images/apps-images/stylededit.png" alt="stylededit.png" />
|
|
<p>Per tua informazione, questo è il modo in cui gli attributi addizionali si presentano quando esaminati da Terminale attraverso l'uso del programma <span class="cli">listattr</span>:</p>
|
|
<pre class="terminal">~> listattr /boot/home/Desktop/test.txt
|
|
File: /boot/home/Desktop/test.txt
|
|
Type Size Name
|
|
----------- --------- -------------------------------
|
|
Int-32 4 "be:encoding"
|
|
MIME String 11 "BEOS:TYPE"
|
|
Int-32 4 "wrap"
|
|
Int-32 4 "alignment"
|
|
Raw Data 1048 "styles"
|
|
|
|
1071 bytes total in attributes.</pre>
|
|
<p>As you can see, all the formatting options from StyledEdit's menu are present: line wrapping (on/off) and alignment (left/center/right), each in one attribute. Styles (font, size, color) of each letter mangled into another.</p>
|
|
<div class="box-info">Because these attributes are a file system feature of BFS, this means that not only other platforms just see a plain text file, it also follows, that the formatting will be lost when a file is stored on a non-BFS partition. The above attributes are simply stripped and what's left is the ordinary, plain text file.</div>
|
|
<p>In any case, it's a nice idea having the possibility of colored text in different fonts and sizes while still being a normal text file. A <span class="cli">ReadMe.txt</span>, for example, is therefore readable in a shell on any platform and still has a bit of style when viewed via double-click from Haiku.</p>
|
|
<p>Actually using StyledEdit is so simple, we'll skip explaining every mundane menu item. Just write down your text then select the words you'd like to format and apply font, size and color from the <span class="menu">Font</span> menu. Line wrapping and alignment from the <span class="menu">Document</span> menu only work on the whole file.</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="nav">
|
|
<div class="inner"><span>
|
|
« <a href="soundrecorder.html">Registratore di Suoni</a>
|
|
:: <a href="../applications.html#list-of-apps" class="uplink">Applicazioni</a>
|
|
:: <a href="terminal.html">Terminale</a> »
|
|
</span></div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|