Searched +hist:1 +hist:d1e61bb (Results 1 - 1 of 1) sorted by relevance

/haiku/src/kits/interface/
H A DTextView.cppdiff 0509d19b Fri Dec 01 16:52:08 MST 2023 John Scipione <jscipione@gmail.com> BTextView: Stylish fix, -x is clear we don't need -1 * x

Change-Id: I38a5e6c88e2ba3b2f82c49aa760942e1799a7595
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7171
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
diff 1c9c7729 Sun Jan 12 10:12:33 MST 2020 X512 <danger_mail@list.ru> Interface Kit: make BTextControl behave like BeOS

Contents of BTextControl should be not selected if text is directly clicked.
Selection should be removed if BTextView lose focus.

Change-Id: Ifba914c2ada4fc1aac88205f69a64a4356009469
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2109
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
diff 1ec8732c Tue Jul 16 10:09:47 MDT 2019 Adrien Destugues <pulkomandy@pulkomandy.tk> PVS V506: using pointer to deallocated stack space

Change-Id: I43f7d0208f7d644d6f4274a9a718773f7a1346a0
Reviewed-on: https://review.haiku-os.org/c/1600
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
diff 1d1e61bb Wed Jul 23 23:45:02 MDT 2014 John Scipione <jscipione@gmail.com> TextView: include re-arrange style fix

* Put #include TextView.h first as our style guide suggests.
* Put #include <new> in it's own C++ includes section
* also remove an extra newline
diff 1d1e61bb Wed Jul 23 23:45:02 MDT 2014 John Scipione <jscipione@gmail.com> TextView: include re-arrange style fix

* Put #include TextView.h first as our style guide suggests.
* Put #include <new> in it's own C++ includes section
* also remove an extra newline
diff 1f424632 Wed Jun 11 17:00:46 MDT 2014 John Scipione <jscipione@gmail.com> Style fixes to IK, focus on docs
diff 1b6bc267 Wed Feb 08 15:42:41 MST 2012 Alexander von Gluck IV <kallisti5@unixzen.com> kits: Some spelling cleanup of common mistyped words

* Little whitespace cleanup
* No functional change
diff 3417c110 Sat Apr 24 18:16:50 MDT 2010 Oliver Tappe <zooey@hirschkaefer.de> Fix #5725, single pixel caret drawing artefact in an empty BTextView:
* _NullStyleHeight() must return the height including the 1 pixel gap between
the lines, as that's how it's being used

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36469 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 7a842ef7 Sun Oct 04 18:46:26 MDT 2009 Stephan Aßmus <superstippi@gmx.de> Check negative out-of-bounds index in BTextView::OffsetAt(). According to
#4707, this is the BeOS behavior. I have not checked myself and the BeBook is
very brief on this, but similar methods do trim indices to be in range.
Another alternative would be returning an index indicating an error (-1).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33439 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 82d9f508 Wed Apr 08 16:10:27 MDT 2009 Stephan Aßmus <superstippi@gmx.de> Some BTextView fixes, most importantly the annoying up/down ping pong when
triggering auto-scrolling in BTextControls...
* _BTextInput_::MinSize() added 1 to the line height, but when aligning the
text rect, at least one pixel is added at the top and bottom, which makes
for at least two extra pixels.
* BTextView::_PerformAutoScrolling() had some code which was supposed to
prevent from out-of-bounds scrolling, but the bottom maximum coordinate
was not correctly calculated. This and the above item led to the ping-pong
effect.
* Additionally, I prevented scrolling vertically for one-line text views
completely.
* On mouse-up, reset the cursor. It may have to be the I-Beam cursor again,
for example after de-selecting.
* While mouse tracking the selection, always use the I-Beam cursor.
* Also when mouse tracking, do not use the minimum/maximum text offset when
the mouse is above/below the text rect. Do this only when it's also outside
on left/right sides. This is less irritating and works like on other
platforms. It means the first/last line can still be selected, without
having to constrain the mouse to the inside of the text view.
* When calculating the selection region, don't make the bottom one pixel too
far up. Lines which contain glyphs that extend below the base-line have
one more pixel below the glyphs that is inverted now.


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

Completed in 214 milliseconds