History log of /haiku/src/apps/stylededit/StyledEditView.h
Revision Date Author Comments
# 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


# f6e4cbb9 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


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


# b40c9906 04-Sep-2007 Ryan Leavengood <leavengood@gmail.com>

Additional style fixes from Julun: adding back the virtual keyword, moving the
commas on class member initializers, fixing a typo. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22174 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


# 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


# 5376b695 01-Feb-2006 Jérôme Duval <korli@users.berlios.de>

made r5 compatible
added virtual on destructors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16182 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


# 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


# 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


# f6e4cbb95290a74b33d012600438b84742b0e572 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


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


# b40c9906279a60165875c8c968c4acca5d39de93 04-Sep-2007 Ryan Leavengood <leavengood@gmail.com>

Additional style fixes from Julun: adding back the virtual keyword, moving the
commas on class member initializers, fixing a typo. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22174 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


# 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


# 5376b695a4c7c41b6db04280e855768c8e1c7b76 01-Feb-2006 Jérôme Duval <korli@users.berlios.de>

made r5 compatible
added virtual on destructors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16182 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


# 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


# 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