mirror of
https://review.haiku-os.org/haiku
synced 2025-01-23 14:54:49 +01:00
1f92a41ace
* Added explanation of icons to Bootloader. * Applied css-fix by Braden Ewing to fix rendering under MS Internet Explorer. Added Braden to welcome.css authors. * Added a css class pre.terminal to make Terminal output more visible plus a few more things. Added myself to welcome.css authors. :) * Updated all Terminal output with the new pre-class tag. * Flaunted our beautiful icons at the top of every preference/application/applet plus their contents page. * Added icon PNGs in 16x16 32x32 and 64x64. * Added quick info where to find a preference/application/applet and its settings at the top of every page. * Added apps: ActivityMonitor, Magnify, StyledEdit, Terminal * Added applet: Launchbox * Added stubs to all missing prefs/apps/applets. Everyone's welcome to work on the contents (announce it on the mailing list, though!). * Moved preference/application/applet into own folders. * Updated contents page. * Reformatted everything to be XHTML1.0-Strict conforming. Added XHTML DTDs to welcome/html-dtd/. * Added copyright and author as comment to the header of every page. If someone else should be mentioned there, speak up. --- Whoot! What a titanian piece of work, Humdinger! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28791 a95241bf-73f2-0310-859d-f6bbb57e9c96
80 lines
3.7 KiB
HTML
80 lines
3.7 KiB
HTML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"../../welcome/html-dtd/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
|
|
<head>
|
|
<!--
|
|
*
|
|
* Copyright 2008, Haiku. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Humdinger <humdingerb@gmail.com>
|
|
*
|
|
-->
|
|
<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>
|
|
<link rel="stylesheet" type="text/css" href="../../welcome/welcome.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div class="logo">
|
|
<img src="../../welcome/welcome-images/logo.png" alt="logo" width="372" height="86" />
|
|
<div class="title">StyledEdit</div>
|
|
</div>
|
|
<div class="topnav">
|
|
<p>
|
|
<a href="../applications.html">Applications</a>
|
|
   
|
|
Previous: <a href="apps-soundrecorder.html">SoundRecorder</a>
|
|
   
|
|
Next: <a href="apps-terminal.html">Terminal</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<h1><img src="apps-images/stylededit-icon_64.png" alt="stylededit-icon_64.png"
|
|
width="64" height="64" />StyledEdit</h1>
|
|
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
|
<tr><td>Deskbar:</td><td style="width:15px;"></td><td><i>Applications</i></td></tr>
|
|
<tr><td>Location:</td><td></td><td><tt>/boot/beos/apps/StyledEdit</tt></td></tr>
|
|
<tr><td>Settings:</td><td></td><td>no settings</td></tr>
|
|
</table>
|
|
<p>StyledEdit is Haiku's simple text editor. 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="apps-images/stylededit.png" alt="stylededit.png" width="525" height="438" />
|
|
<p>If you're interested, this is what those additional attributes look like when examined in Terminal with <tt>listattr</tt>:</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>
|
|
<p><i>Note:</i> 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.</p>
|
|
<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 <tt>ReadMe.txt</tt>, 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 <i>Font</i> menu. Line wrapping and alignment from the <i>Document</i> menu only work on the whole file.</p>
|
|
|
|
</div>
|
|
<!--
|
|
<div class="bottomnav">
|
|
<p>
|
|
<a href="../applications.html">Applications</a>
|
|
   
|
|
Previous: <a href="apps-soundrecorder.html">SoundRecorder</a>
|
|
   
|
|
Next: <a href="apps-terminal.html">Terminal</a>
|
|
</p>
|
|
</div>
|
|
-->
|
|
</body>
|
|
</html>
|