Searched +hist:3 +hist:f3ab162 (Results 1 - 2 of 2) sorted by relevance
/haiku/headers/os/interface/ | ||
H A D | TextView.h | diff 3f3ab162 Tue Apr 07 09:29:23 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> continued work on BTextView: * reverted my recent change that caused Mail to always show the end of mails 8-) and now invoke ScrollToOffset() wherever it was missing (mostly in keyboard-related methods) * _DoInsertText() only moves the caret if the text has been inserted in front of the caret, not after it * overhauled selection by char/word/line and their extension mechanism (which now behaves as the haiku shell) * use strnlen() instead of strlen() in those versions of Insert() which accept a length parameter, as strlen can potentially waste a lot of cycles skipping the whole string, when all we want is to clamp the length. * cleanup (some of it automatic removal of trailing whitespace) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29995 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 3f3ab162 Tue Apr 07 09:29:23 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> continued work on BTextView: * reverted my recent change that caused Mail to always show the end of mails 8-) and now invoke ScrollToOffset() wherever it was missing (mostly in keyboard-related methods) * _DoInsertText() only moves the caret if the text has been inserted in front of the caret, not after it * overhauled selection by char/word/line and their extension mechanism (which now behaves as the haiku shell) * use strnlen() instead of strlen() in those versions of Insert() which accept a length parameter, as strlen can potentially waste a lot of cycles skipping the whole string, when all we want is to clamp the length. * cleanup (some of it automatic removal of trailing whitespace) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29995 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 3f3ab1625c45e1d58ea1b5443343a91d381e1e0c Tue Apr 07 09:29:23 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> continued work on BTextView: * reverted my recent change that caused Mail to always show the end of mails 8-) and now invoke ScrollToOffset() wherever it was missing (mostly in keyboard-related methods) * _DoInsertText() only moves the caret if the text has been inserted in front of the caret, not after it * overhauled selection by char/word/line and their extension mechanism (which now behaves as the haiku shell) * use strnlen() instead of strlen() in those versions of Insert() which accept a length parameter, as strlen can potentially waste a lot of cycles skipping the whole string, when all we want is to clamp the length. * cleanup (some of it automatic removal of trailing whitespace) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29995 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/kits/interface/ | ||
H A D | TextView.cpp | diff 3c857341 Thu Dec 31 18:54:27 MST 2015 Augustin Cavalier <waddlesplash@gmail.com> BTextView: Don't crash if the file supplied is zero-length. Fixes #12551. diff 3e2017d2 Sat Feb 11 02:30:56 MST 2012 Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Some cleanup in interface kit. From unused code warnings (before I updated buildtools). diff 3f3ab162 Tue Apr 07 09:29:23 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> continued work on BTextView: * reverted my recent change that caused Mail to always show the end of mails 8-) and now invoke ScrollToOffset() wherever it was missing (mostly in keyboard-related methods) * _DoInsertText() only moves the caret if the text has been inserted in front of the caret, not after it * overhauled selection by char/word/line and their extension mechanism (which now behaves as the haiku shell) * use strnlen() instead of strlen() in those versions of Insert() which accept a length parameter, as strlen can potentially waste a lot of cycles skipping the whole string, when all we want is to clamp the length. * cleanup (some of it automatic removal of trailing whitespace) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29995 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 3f3ab162 Tue Apr 07 09:29:23 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> continued work on BTextView: * reverted my recent change that caused Mail to always show the end of mails 8-) and now invoke ScrollToOffset() wherever it was missing (mostly in keyboard-related methods) * _DoInsertText() only moves the caret if the text has been inserted in front of the caret, not after it * overhauled selection by char/word/line and their extension mechanism (which now behaves as the haiku shell) * use strnlen() instead of strlen() in those versions of Insert() which accept a length parameter, as strlen can potentially waste a lot of cycles skipping the whole string, when all we want is to clamp the length. * cleanup (some of it automatic removal of trailing whitespace) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29995 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 75ee0a29 Thu Jan 17 17:01:31 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Respect the maximum bytes set by SetMaxBytes() in Insert() and on keydown. Fixed SetMaxBytes() so that it respect multibyte characters (it removes the whole character in case it doesn't fit). This can be seen in BColorControls, where you can't write numbers with more than 3 characters anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23605 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 3a70724f Thu Sep 14 07:17:47 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Finally nailed that bug which caused text not to be drawn in some cases... OffsetAt() was returning 1 instead of 0 if you clicked on an empty BTextView due to a bug in NextInitialByte() . Some cleanups git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18836 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 3e2017d24e3912c42e583a508caea971a195f666 Sat Feb 11 02:30:56 MST 2012 Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Some cleanup in interface kit. From unused code warnings (before I updated buildtools). diff 3f3ab1625c45e1d58ea1b5443343a91d381e1e0c Tue Apr 07 09:29:23 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> continued work on BTextView: * reverted my recent change that caused Mail to always show the end of mails 8-) and now invoke ScrollToOffset() wherever it was missing (mostly in keyboard-related methods) * _DoInsertText() only moves the caret if the text has been inserted in front of the caret, not after it * overhauled selection by char/word/line and their extension mechanism (which now behaves as the haiku shell) * use strnlen() instead of strlen() in those versions of Insert() which accept a length parameter, as strlen can potentially waste a lot of cycles skipping the whole string, when all we want is to clamp the length. * cleanup (some of it automatic removal of trailing whitespace) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29995 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 75ee0a2911a4942882ed31ed659b71cd0ebca300 Thu Jan 17 17:01:31 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Respect the maximum bytes set by SetMaxBytes() in Insert() and on keydown. Fixed SetMaxBytes() so that it respect multibyte characters (it removes the whole character in case it doesn't fit). This can be seen in BColorControls, where you can't write numbers with more than 3 characters anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23605 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 3a70724f430df4f06ff9d209ef7f02f2aaf6116c Thu Sep 14 07:17:47 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Finally nailed that bug which caused text not to be drawn in some cases... OffsetAt() was returning 1 instead of 0 if you clicked on an empty BTextView due to a bug in NextInitialByte() . Some cleanups git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18836 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
Completed in 252 milliseconds