History log of /haiku/src/apps/stylededit/StyledEditView.cpp
Revision Date Author Comments
# d9385a9d 20-Jul-2020 John Scipione <jscipione@gmail.com>

IK: align BTextView text rect/fix alignment

Recalculate line breaks in FrameResized() if word-wrap is on, otherwise
only move the text rect into position. StyledEdit was recalculating line
breaks before on resize (we have to in this mode) and the frame offset
updates for non-wrapping text views are inexpensive. This makes resizing
text view's work like StyledEdit everywhere.

Scroll to cursor when word-wrap setting changes if text view is editable.
If you are viewing a long document changing word-wrap can move the cursor
quite far, so scroll back to it.

Fix _ActualTabWidth() pen location for right and center-aligned text views
so that tabs widths are calculated correctly.

Reset fTextRect horizontal limits to bounds minus insets in
_RecalculateLineBreaks(), then grow fTextRect based on alignment when
wrap is off.

Fixing insets also fixes right and center-aligned BTextViews.
Left-aligned text view's grow right, right-aligned ones grow left,
and center-aligned ones grow out.

Make extra scrolling space for all aligned text views go the other way
from how it did in hrev24130 (and on left-aligned text view's too) so
that half the text is visible when you edit past the end or before the
beginnning of a text view instead of none of it.

Fixes #1651 #12608 #13796 #15189

Do not _RecalculateLineBreaks() if text view bounds are invalid.
In SetText() detect invalid text view bounds and resize the view to the
width and height of the first line. Then recalculate line breaks.
This fixes BAlert text view size issues.

Fixes #16481 (regression from hrev54496.)

Remove useless and heavy computation. There is no point in computing line
breaks for a 10px wide text view and it takes a long time because it needs
a lot of linebreaks. The view eventually gets laid out properly.

Fixes #5582 (which was not locale-related, after all.)

Only apply default insets if text rect is set to bounds. This ensures
that apps that manipulate the text rect can continue to do so without
the default insets interfering while apps that don't can benefit
from the defaults. If you want to set the text rect to bounds and
not use the default insets you must override the default by calling
SetInsets(). This prevent the default insets from being applied once
apps have changed the text rect fixing a bug in Icon-O-Matic where the
text rect insets were being applied incorrectly.

Fixes #16488 (regression from hrev54496.)

Reduce left and right insets inside text views from full label spacing
to half label spacing. Unify padding between BTextControl and BTextView.

Move fLayoutData->UpdateInsets() to private BTextView::_UpdateInsets()
because we need access to BTextView member variables when deciding
whether or not to add the default padding or not.

_UpdateInsets() changes:
* Don't update insets if BTextView::SetInsets() was called.
* Don't add default insets unless fTextRect is set to view Bounds().
* Do not set the right and bottom insets to left and top if negative,
set them to 0 like we do to left and top -- DeskCalc bug otherwise.

Fixes #15688

Other BTextView fixes:
* Replace max_c and min_c with std::max and std::min respectively.
* Remove scrolling from one instance of BTextView::SetText() as it
produced undesired results while editing a scrolled text view.
* Add default insets in _UpdateInsets()
* Fix scrolling when entering and deleting text so that some part of
the text is always visible. Make visible scroll width depend on font
size.
* Allow scrolling to a negative offset in x but not y. This allows you
to scroll the entire contents of right and centered-aligned text views
whose content does not fit in the box.
* Change _Refresh() to take an offset instead of a bool so that you can
scroll to any offset.
* Replace TextLength() with fText->Length() in a couple of places.

TextControl changes:
* Set text rect in BTextControl::DoLayout().
* Remove AlignTextRect() from TextInput.

Fix the following problems in apps:

ScreenSaver: Set text rect in PreviewView::AddPreview().
Tracker: Set "Edit name" text view insets to 2. Tweek text rect position
to be on top of label in icon, mini-icon, and list mode. Add a TODO that
the text rect is a pixel off from the name on some files.
Mail: Remove _AlignTextRect() and FrameResized() from AddressTextControl.
Use default insets on the text view, defaults are fine here.
DeskCalc: Set insets based on font size in ExpressionTextView
SetTextRect() instead of manipulating the text rect.
Remove _CheckTextRect() and related methods from InputTextView.
Icon-O-Matic: Remove _CheckTextRect() and related methods from InputTextView.
WebPositive: Remove _AlignTextRect() and FrameResized() from URLTextView
and call SetInsets().
StyledEdit: Word-wrap and FrameResized() changes ported to BTextView.

Fixes #16476 #16480 #16488 (regressions from hrev54496.)

Change-Id: Ifeca6077f8815ccd86d5a3880f99556298aaf0fe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3152
Reviewed-by: John Scipione <jscipione@gmail.com>


# fa19dd44 10-Dec-2015 looncraz <looncraz@looncraz.net>

apps: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.


# e62d9cf8 30-Jun-2015 Philippe Saint-Pierre <stpere@gmail.com>

StyledEdit: Rework of the font color system

1) The default font color is now B_DOCUMENT_TEXT_COLOR
2) The font color menu now shows a palette
3) The font color menu now includes a "default" item, set
to B_DOCUMENT_TEXT_COLOR
4) Added a Todo mentionning it would be ideal to not save the default color
itself, but instead saving the fact the default color was used. Maybe allow the
StyleBuffer to use a Null color or something similar.


# 2cfeb3ca 04-Apr-2013 John Scipione <jscipione@gmail.com>

Update StyledEdit to use document background color. Style fixes.

See ticket #5293 Colors_picture2.png


# 0f4985d8 22-Dec-2012 Vlad Slepukhin <slp.vld@gmail.com>

StyledEdit:Implemented StatusLine and R5-like ReadOnly mode

This work was done during GCI2012.

Fixes #3655

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 0cc8d8ab 10-Dec-2012 Siarzhuk Zharski <zharik@gmx.li>

Node monitoring and on-the-fly textencoding change

This work is based on the draft node monitoring implementation
created by Vlad Slepukhin during GCI 2012 and includes following:

* Refactoring of the document "Reload" feature - it replaces
"Revert to saved" one because do the same things and a bit more.
Looks like we have to keep "Reload" menu entry alive until
StyledEdit will get more functional Undo/Redo features. Reload
functionality is also heavily used in node monitoring and
on-the-fly text encoding changing. Fixes #6887;

* Support for text encoding on-the-fly switching. This make
life easier for those who lives in countires with multiple
popular 8-bit encodings. Russia is the sample of such
de facto standards' clash (KOI-8R vs CP1251 etc.);

* Node Monitoring support with alerting user in case the file
size or modification time were changed. Another alert is shown
in case edited file was removed or moved outside of the current
volume. Moving file inside of current volume silently changes
references. Choosing "Ignore" will supress new change alerts
until next Reload or Save user request;

* Do not nag user on quiting window with zero-length untitled
document. Not a Big Deal but annoys in some cases using this
editor session as temporary storage.


# 48249b20 25-Jul-2012 Humdinger <humdingerb@gmail.com>

Stylefixes, no functional change.


# e7d3e55a 04-Jun-2010 Jérôme Duval <korli@users.berlios.de>

Fixed ReplaceAll behavior with mixed styles. Also suppress undo for replacements as it doesn't seem supported by BTextView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37008 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e26769c 29-Mar-2009 Rene Gollent <anevilyak@gmail.com>

Patch by Bryce Groff: add line number display to StyledEdit. Fixes ticket #2623. It does however expose an interesting curiosity in BTextView - CurrentLine() does not count a line until it's actually had some text put into it (i.e. simply hitting enter at the last line of the doc does not increment the number that CurrentLine() returns. Is this an oversight or does R5 behave this way also?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f303cd6c 03-Sep-2007 Ryan Leavengood <leavengood@gmail.com>

Applied patch from "HOST", with a few small style fixes myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22163 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d0fc29af 17-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

StyledEdit now makes use of the new BTranslationUtils functions which
simplify the code quite a lot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2583a582 03-Aug-2006 DarkWyrm <darkwyrm@gmail.com>

Fix build under R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5b14ba1a 10-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Now uses BTextView::FreeTextRunArray() instead of just free() where appropriate.
* When reading/writing int32, the type of the variable should match.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16699 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 31139022 10-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed some minor bugs and oddities, improved error messages.
* Big-time cleanup, added license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16696 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 375cec2c 03-Feb-2006 Jérôme Duval <korli@users.berlios.de>

added error checks around, hope it can help


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16217 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6dc85dbf 29-Oct-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a comment to some stuff which wasn't so clear (thanks to Andrew for clarifying this).
Now we free() the run_array allocated by "RunArray()" (as we're supposed to do), thus removing a leak.
Changed some includes from <> to "" just for my personal pleasure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9648 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c33f5604 28-Jul-2004 shatty <shatty@nowhere.fake>

fix word wrap at file open time bug


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8495 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f7e8e73 29-Dec-2003 shatty <shatty@nowhere.fake>

for faster, more reliable translation, using larger buffers


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5824 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5c78d8ec 12-Aug-2003 shatty <shatty@nowhere.fake>

changed to not exercise r5 lib-style convert_to_utf8 behavior on 0 bytes because the r5 lib-style behavior contradicts the bebook specification


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4277 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 54b7d674 10-Aug-2003 shatty <shatty@nowhere.fake>

good boys delete what they new up when they get destroyed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4266 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ae6fb3b6 31-Jul-2003 shatty <shatty@nowhere.fake>

remove stdio


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4165 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b6b71e9 31-Jul-2003 shatty <shatty@nowhere.fake>

flank more carefully change marking actions, return the result from convert_to_utf8


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4164 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46555d8f 26-Jul-2003 shatty <shatty@nowhere.fake>

changed to use new BCharacterSet and BCharacterSetRoster from support kit. because libtextencoding.so is not finished yet it uses those sources directly instead of the library.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4092 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62df02c3 15-Jul-2003 shatty <shatty@nowhere.fake>

set changes monitoring on return by error


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3984 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 155ae4c5 06-Jul-2003 shatty <shatty@nowhere.fake>

working input with formatting


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3869 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 08db2111 06-Jul-2003 shatty <shatty@nowhere.fake>

format nuking, but working input conversion


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3868 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ebf4610f 06-Jul-2003 shatty <shatty@nowhere.fake>

broken but halfway working input conversion


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3867 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 670567f9 05-Jul-2003 shatty <shatty@nowhere.fake>

moved encoding handling into StyledEditView and began reading the be:encoding attribute


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3866 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5d46a494 05-Jul-2003 shatty <shatty@nowhere.fake>

fixed minor writing error


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3864 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1a68508 05-Jul-2003 shatty <shatty@nowhere.fake>

working save as encoding


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3863 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8f63353b 22-Nov-2002 shatty <shatty@nowhere.fake>

lots of font related changes to reduce memory consumption and speed up initialization. also fixes for word wrapping screen width.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b46ec98 21-Nov-2002 shatty <shatty@nowhere.fake>

improved soft wrapping, now saves alignment and wrapping states


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2061 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed48868f 05-Nov-2002 shatty <shatty@nowhere.fake>

style cleanup ; undo, revert, redo, save, quit functions fixed up ; no more extra windows ; quit when all windows are closed ; fix grey lines when scrolling


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1848 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7afd44b 23-Sep-2002 Phil Greenway <sikosis@gmail.com>

Initial Check in. Coded by Mattias Sundblad.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1135 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e62d9cf8c568e4fd2c80e163cbdae5a4376e898f 30-Jun-2015 Philippe Saint-Pierre <stpere@gmail.com>

StyledEdit: Rework of the font color system

1) The default font color is now B_DOCUMENT_TEXT_COLOR
2) The font color menu now shows a palette
3) The font color menu now includes a "default" item, set
to B_DOCUMENT_TEXT_COLOR
4) Added a Todo mentionning it would be ideal to not save the default color
itself, but instead saving the fact the default color was used. Maybe allow the
StyleBuffer to use a Null color or something similar.


# 2cfeb3ca9cf0e90a154133fb14d9edf3f9fbad54 04-Apr-2013 John Scipione <jscipione@gmail.com>

Update StyledEdit to use document background color. Style fixes.

See ticket #5293 Colors_picture2.png


# 0f4985d884971e1c221cb02eae16b1f08708629a 22-Dec-2012 Vlad Slepukhin <slp.vld@gmail.com>

StyledEdit:Implemented StatusLine and R5-like ReadOnly mode

This work was done during GCI2012.

Fixes #3655

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 0cc8d8ab3e4ac684e0ac1c8d6b5b45046b8f6bea 10-Dec-2012 Siarzhuk Zharski <zharik@gmx.li>

Node monitoring and on-the-fly textencoding change

This work is based on the draft node monitoring implementation
created by Vlad Slepukhin during GCI 2012 and includes following:

* Refactoring of the document "Reload" feature - it replaces
"Revert to saved" one because do the same things and a bit more.
Looks like we have to keep "Reload" menu entry alive until
StyledEdit will get more functional Undo/Redo features. Reload
functionality is also heavily used in node monitoring and
on-the-fly text encoding changing. Fixes #6887;

* Support for text encoding on-the-fly switching. This make
life easier for those who lives in countires with multiple
popular 8-bit encodings. Russia is the sample of such
de facto standards' clash (KOI-8R vs CP1251 etc.);

* Node Monitoring support with alerting user in case the file
size or modification time were changed. Another alert is shown
in case edited file was removed or moved outside of the current
volume. Moving file inside of current volume silently changes
references. Choosing "Ignore" will supress new change alerts
until next Reload or Save user request;

* Do not nag user on quiting window with zero-length untitled
document. Not a Big Deal but annoys in some cases using this
editor session as temporary storage.


# 48249b20646d5a6a58b084eee73827953df407ca 25-Jul-2012 Humdinger <humdingerb@gmail.com>

Stylefixes, no functional change.


# e7d3e55ad60a62998aa0fbb10ac2bc93b2be1033 04-Jun-2010 Jérôme Duval <korli@users.berlios.de>

Fixed ReplaceAll behavior with mixed styles. Also suppress undo for replacements as it doesn't seem supported by BTextView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37008 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e26769c8b0451466b4334a54403c5f29277b358 29-Mar-2009 Rene Gollent <anevilyak@gmail.com>

Patch by Bryce Groff: add line number display to StyledEdit. Fixes ticket #2623. It does however expose an interesting curiosity in BTextView - CurrentLine() does not count a line until it's actually had some text put into it (i.e. simply hitting enter at the last line of the doc does not increment the number that CurrentLine() returns. Is this an oversight or does R5 behave this way also?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f303cd6cc2bb3c3f415ca7083e2b90c720d99fa9 03-Sep-2007 Ryan Leavengood <leavengood@gmail.com>

Applied patch from "HOST", with a few small style fixes myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22163 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d0fc29af1fce2ab5ad25cb9bca43700f00b80a68 17-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

StyledEdit now makes use of the new BTranslationUtils functions which
simplify the code quite a lot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2583a5828fddff79227fde638d3a2866d9580261 03-Aug-2006 DarkWyrm <darkwyrm@gmail.com>

Fix build under R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5b14ba1a07feab7227a35a5013fbde4fe683eb78 10-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Now uses BTextView::FreeTextRunArray() instead of just free() where appropriate.
* When reading/writing int32, the type of the variable should match.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16699 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 31139022cd3056691fc8d6f64b2d9ffa9a101de3 10-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed some minor bugs and oddities, improved error messages.
* Big-time cleanup, added license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16696 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 375cec2c5e08ddde35579d4336a9d1946d1d122b 03-Feb-2006 Jérôme Duval <korli@users.berlios.de>

added error checks around, hope it can help


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16217 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6dc85dbf523ba9b59a81ccefe2994bffa214af1d 29-Oct-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a comment to some stuff which wasn't so clear (thanks to Andrew for clarifying this).
Now we free() the run_array allocated by "RunArray()" (as we're supposed to do), thus removing a leak.
Changed some includes from <> to "" just for my personal pleasure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9648 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c33f56042745a9654939bce362ba7416a60879fe 28-Jul-2004 shatty <shatty@nowhere.fake>

fix word wrap at file open time bug


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8495 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f7e8e7395428cadab1afd6bd54906e8b481e404 29-Dec-2003 shatty <shatty@nowhere.fake>

for faster, more reliable translation, using larger buffers


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5824 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5c78d8ec9e251e9e20b709a9ec6d9cccd32719c9 12-Aug-2003 shatty <shatty@nowhere.fake>

changed to not exercise r5 lib-style convert_to_utf8 behavior on 0 bytes because the r5 lib-style behavior contradicts the bebook specification


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4277 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 54b7d67454e55e3e9210cec9f896e4e610a51ad7 10-Aug-2003 shatty <shatty@nowhere.fake>

good boys delete what they new up when they get destroyed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4266 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ae6fb3b6f521076a0ea0fd19319a6cdbc439542c 31-Jul-2003 shatty <shatty@nowhere.fake>

remove stdio


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4165 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b6b71e99a06634465c346d8dae04b9edb69dc62 31-Jul-2003 shatty <shatty@nowhere.fake>

flank more carefully change marking actions, return the result from convert_to_utf8


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4164 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46555d8f436bd50ad3a657c87c8db6b6b3a3fd99 26-Jul-2003 shatty <shatty@nowhere.fake>

changed to use new BCharacterSet and BCharacterSetRoster from support kit. because libtextencoding.so is not finished yet it uses those sources directly instead of the library.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4092 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62df02c3e6ba1da44075387cef356d32f14bcba1 15-Jul-2003 shatty <shatty@nowhere.fake>

set changes monitoring on return by error


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3984 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 155ae4c5cba43a304c7fd7e55a21d906ff8ad720 06-Jul-2003 shatty <shatty@nowhere.fake>

working input with formatting


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3869 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 08db2111e11a202956f2f4294a1f9b1cc2a8ef01 06-Jul-2003 shatty <shatty@nowhere.fake>

format nuking, but working input conversion


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3868 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ebf4610ff0f2a8f6d3bd7418c6e340e0efcc55e3 06-Jul-2003 shatty <shatty@nowhere.fake>

broken but halfway working input conversion


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3867 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 670567f9d4b17d6a7b0ef7bdbc9834b56890d7de 05-Jul-2003 shatty <shatty@nowhere.fake>

moved encoding handling into StyledEditView and began reading the be:encoding attribute


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3866 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5d46a49425235725ccdc14338222c2bdf576a0bb 05-Jul-2003 shatty <shatty@nowhere.fake>

fixed minor writing error


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3864 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1a685089bf7832d3eccea564e632676797f17b0 05-Jul-2003 shatty <shatty@nowhere.fake>

working save as encoding


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3863 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8f63353baff01e03aaeb5a26b04988fd588a0074 22-Nov-2002 shatty <shatty@nowhere.fake>

lots of font related changes to reduce memory consumption and speed up initialization. also fixes for word wrapping screen width.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b46ec9848d666ead1fbdf4bdff9cb50182d5213 21-Nov-2002 shatty <shatty@nowhere.fake>

improved soft wrapping, now saves alignment and wrapping states


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2061 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed48868f638d5129cdd21b59f36e8e227a05aaaa 05-Nov-2002 shatty <shatty@nowhere.fake>

style cleanup ; undo, revert, redo, save, quit functions fixed up ; no more extra windows ; quit when all windows are closed ; fix grey lines when scrolling


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1848 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7afd44bda63d8eb9a9bc62683fbfc73b6b232b7 23-Sep-2002 Phil Greenway <sikosis@gmail.com>

Initial Check in. Coded by Mattias Sundblad.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1135 a95241bf-73f2-0310-859d-f6bbb57e9c96