History log of /haiku/src/apps/stylededit/Constants.h
Revision Date Author Comments
# 40a12ac6 24-Jul-2021 Adrien Destugues <adrien.destugues@opensource.viveris.fr>

StyledEdit: add menu to underline text

Eases testing of B_UNDERSCORE_FACE

Change-Id: If3e1f247a984b81e9262136ca30139851cfa19a2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4244
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 619b2670 01-Jan-2020 Pascal Abresch <nep@packageloss.eu>

StyledEdit: Add cmd +, cmd - shortcuts for font size

Change-Id: I540ed130322fa1ce7eba62c4a1d1de36b12ccf9a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2303
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# da9188ac 08-Dec-2017 Janus <janus2@ymail.com>

StyledEdit: avoid crash on replace window

* Fixes #13842


# 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.


# 8914c88d 30-May-2015 Janus <janus2@ymail.com>

StyledEdit: add navigation menu to status bar.

* Fix #12099.


# 85ce1385 28-Dec-2013 Rene Gollent <rene@gollent.com>

StyledEdit: Fix #10349.

Override QuitRequested in FindWindow to notify the parent edit window of the
find window's demise so it can reset its corresponding pointer. Otherwise the
latter will potentially access the invalid pointer in question on subsequent
find requests, leading to potential crashes.


# 579c4d6e 26-Nov-2013 Ezo <ezo.dev@gmail.com>

StyleEdit: non-modal Find/Replace windows implementation

* Switch to non-modal floating windows for Find/Replace dialogs,
preserve parameters of the previous search in this editor session;
* Fixes #10053.

- GCI 2013


# c7087c91 09-Jan-2013 Siarzhuk Zharski <zharik@gmx.li>

Implement "be:caret_position" document file attribute.

* Use "be:caret_position"document file attribute instead of
"be:line" and "be:selection_{length|offset}" file attributes;
* Fixed code style violations. Thanks to Axel for pointing it out!


# 46f1daff 23-Dec-2012 Vlad Slepukhin <slp.vld@gmail.com>

Handle be:line and °K in RefsReceived, store it in file attributes

This work was done during GCI2012

Fixes #4794

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


# 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.


# d2ff9616 29-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by negusnyul that closes ticket #4689 by adding bold/italic
shortcuts to StyledEdit - thanks a lot!
* Minor style changes.


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


# 15d26d2c 20-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Tamás Krutki that adds some statistic info to StyledEdit.
Thanks for the patch!


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


# 1f8b22ef 22-Oct-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed some more application signatures and version info, and made them all consistent.


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


# a45ebf0c 15-May-2006 Axel Dörfler <axeld@pinc-software.de>

* StyledEdit now has "haiku" in its signature, no longer "obos".
* Removed the separate version rdef, and put it into the main rdef.
* Also moved the application icon into the main rdef.
* Removed text/plain icon from the icons rdef.


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


# bed4e0fb 07-Aug-2003 shatty <shatty@nowhere.fake>

fixed the save as case as well


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


# e6903129 04-Jul-2003 shatty <shatty@nowhere.fake>

first start encodings menu up for save as


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


# e648cd8a 22-Apr-2003 shatty <shatty@nowhere.fake>

cosmetic cleanup


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


# 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


# 15db9de0 03-Nov-2002 shatty <shatty@nowhere.fake>

patches from Mattias Sundblad


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


# 8914c88dab7a8c90549e355ed3de12d604e47b7d 30-May-2015 Janus <janus2@ymail.com>

StyledEdit: add navigation menu to status bar.

* Fix #12099.


# 85ce13855746c2548343883e7d9efd16349875c2 28-Dec-2013 Rene Gollent <rene@gollent.com>

StyledEdit: Fix #10349.

Override QuitRequested in FindWindow to notify the parent edit window of the
find window's demise so it can reset its corresponding pointer. Otherwise the
latter will potentially access the invalid pointer in question on subsequent
find requests, leading to potential crashes.


# 579c4d6e5f3bcb12e1fd9d7a5c1808602b5f3a58 26-Nov-2013 Ezo <ezo.dev@gmail.com>

StyleEdit: non-modal Find/Replace windows implementation

* Switch to non-modal floating windows for Find/Replace dialogs,
preserve parameters of the previous search in this editor session;
* Fixes #10053.

- GCI 2013


# c7087c91837c663ba6794265914f5c408c4f3375 09-Jan-2013 Siarzhuk Zharski <zharik@gmx.li>

Implement "be:caret_position" document file attribute.

* Use "be:caret_position"document file attribute instead of
"be:line" and "be:selection_{length|offset}" file attributes;
* Fixed code style violations. Thanks to Axel for pointing it out!


# 46f1daff68176b7e003ddae46fce11f4b92340dd 23-Dec-2012 Vlad Slepukhin <slp.vld@gmail.com>

Handle be:line and °K in RefsReceived, store it in file attributes

This work was done during GCI2012

Fixes #4794

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


# 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.


# d2ff9616c8a53f5b786d35a7a9b820267c4a39b4 29-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by negusnyul that closes ticket #4689 by adding bold/italic
shortcuts to StyledEdit - thanks a lot!
* Minor style changes.


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


# 15d26d2cef29a05bcf4a1ad70722e04992b22c02 20-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Tamás Krutki that adds some statistic info to StyledEdit.
Thanks for the patch!


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


# 1f8b22ef227c0ee004bdfc60e5a753e48e716258 22-Oct-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed some more application signatures and version info, and made them all consistent.


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


# a45ebf0c79e039c26f1276132500ec0f679bf16a 15-May-2006 Axel Dörfler <axeld@pinc-software.de>

* StyledEdit now has "haiku" in its signature, no longer "obos".
* Removed the separate version rdef, and put it into the main rdef.
* Also moved the application icon into the main rdef.
* Removed text/plain icon from the icons rdef.


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


# bed4e0fbf1afac6504cd8a35eea6d337ed9f9879 07-Aug-2003 shatty <shatty@nowhere.fake>

fixed the save as case as well


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


# e6903129a7093378016c800236dd47b175056ff9 04-Jul-2003 shatty <shatty@nowhere.fake>

first start encodings menu up for save as


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


# e648cd8a9deb5407aee1fa32eaf33c745aecdbcf 22-Apr-2003 shatty <shatty@nowhere.fake>

cosmetic cleanup


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


# 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


# 15db9de07f4f6a479b8ff7efd403d2fadf93e39f 03-Nov-2002 shatty <shatty@nowhere.fake>

patches from Mattias Sundblad


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