Searched +hist:13 +hist:ca2d94 (Results 1 - 2 of 2) sorted by last modified time

/haiku/src/kits/interface/
H A DTextView.cppdiff 18970361 Mon Nov 23 13:07:09 MST 2020 John Scipione <jscipione@gmail.com> BTextView: ensure text rect width and height is > 0

Helps wth #16476 #16568

Change-Id: Idc8d399cf69776d26e492f568c9ef83bcd7a6686
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3413
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
diff 17c9e987 Wed Jul 10 13:30:02 MDT 2019 Kacper Kasper <kacperkasper@gmail.com> TextView: add shortcuts for wordwise delete

Change-Id: Ie67f6255c3f5d9d8ccc6699ed42dd71ae593fa16
Reviewed-on: https://review.haiku-os.org/c/1573
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
diff 7cf48d4e Tue Feb 13 05:46:15 MST 2018 hy che <cvghy116@gmail.com> TextView: Remove redundant check in ScrollToOffset as PointAt() already does the check.

Change-Id: I2bf541fca84ef27749484ee1be05fb9debac32e2
diff 53253ac4 Fri Mar 13 13:01:47 MDT 2015 Humdinger <humdingerb@gmail.com> Sentence casing in context menus. Thanks Janus for noticing.
diff 53253ac4 Fri Mar 13 13:01:47 MDT 2015 Humdinger <humdingerb@gmail.com> Sentence casing in context menus. Thanks Janus for noticing.
diff 6e1a7a15 Mon Aug 06 13:44:42 MDT 2012 x-ist <fakeEmail@fakesite.fake> Fix BTextView tab calculation.

In rare cases such as described in #7955 BTextView happens to calculate the
width of a tab close to zero (e.g. 0.000031). This patch adds a fallback to the
default tab width in that case.

Signed-off-by: Ryan Leavengood <leavengood@gmail.com>
diff 546208a5 Mon Apr 16 13:31:22 MDT 2012 Oliver Tappe <zooey@hirschkaefer.de> More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.
diff 466f2b8f Sun Dec 18 13:34:44 MST 2011 Rene Gollent <anevilyak@gmail.com> Add compatibility symbols for removed LayoutChanged() calls.
diff 9f65f3dd Tue Dec 06 11:13:26 MST 2011 Michael Lotz <mmlr@mlotz.ch> Rename variable so it is clear what is measured (bytes).
diff c944d11f Tue Apr 13 07:36:49 MDT 2010 Stephan Aßmus <superstippi@gmx.de> bonefish+stippi:
All views which cache layout information need to call ResetLayoutInvalidation()
when they have updated the cached information. Otherwise calling
InvalidateLayout() once they are already attached to a layout may not have any
effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36217 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/headers/os/interface/
H A DTextView.hdiff 17c9e987 Wed Jul 10 13:30:02 MDT 2019 Kacper Kasper <kacperkasper@gmail.com> TextView: add shortcuts for wordwise delete

Change-Id: Ie67f6255c3f5d9d8ccc6699ed42dd71ae593fa16
Reviewed-on: https://review.haiku-os.org/c/1573
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
diff fef862eb Wed Jul 23 17:58:13 MDT 2014 John Scipione <jscipione@gmail.com> TextView.h rearrage virtual methods for FBC

The order is updated so the virtual methods appear in the same order
that they did in BeOS R5 with methods new to Haiku added to the bottom.

Perform() moves up, all other methods move below GetDragParameters(),
the last virtual method in BeOS R5's TextView.h.
diff 575625f1 Sun Apr 11 08:13:57 MDT 2010 Oliver Tappe <zooey@hirschkaefer.de> fix drawing artefacts when the caret is being clipped, which lead
to parts of the caret being inverted:
* instead of always inverting the caret rect, we now invalidate when the
caret should be hidden



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36153 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 32c8ab89 Wed Oct 21 13:09:20 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> * added _TabExpandedStyledWidth(), which makes sure to expand all tab chars
during the width calculation
* used _TabExpandedStyledWidth() at all places that need to expand tabs,
fixing #4822
* removed _StyledWidthUTF8Safe() as it didn't make sense - we now perform
the same auto-scrolling horizontally as we do vertically


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33713 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f287ca7d Wed May 13 16:09:15 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> fixed behaviour of non-editable textviews:
* non-editable textviews no longer draw the caret
* the cursor keys scroll immediately, not only when the (invisible) caret
reaches the views bounds
* HOME/END work more reliably
* any selection stays active throughout keyboard navigation
Tested with AboutSystem, Mail, StyledEdit and Beam - seems to work ok


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30756 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 5cc8dc2f Fri May 01 07:59:13 MDT 2009 Oliver Tappe <zooey@hirschkaefer.de> * unified application of style into a separate method _ApplyStyleRange()
in order to maintain the null-style appropriately, if required
* finally fix #3040 for real (a single style is now maintained at all times
for non-stylable textviews)
* the caret is now being drawn with the correct size, even if it is on
the empty line at the end of the buffer and a specific font size has been
requested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30532 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff b8872c02 Sun Feb 24 13:39:29 MST 2008 Stephan Aßmus <superstippi@gmx.de> BTextControl:
* Placed _BTextInput_ into BPrivate namespace.
* Made _BTextInput_::AlignTextRect() smarter, it centers the line vertically,
for the case that the BTextControl has a larger label font. Improved insets
for asthetics.
* Used _BTextInput_::AlignTextRect() consistently in BTextControl, no more
custom calls to SetTextRect(). Account for minimum vertical inset of 2
pixels in GetPreferredSize().
* Consistendly select all text when gaining focus in _BTextInput_.
* Override MouseDown() in case the control did not have focus before, or else
BTextView::MouseDown() will deselct the text again and place the cursor.
(in line with BeOS behavior)
* Removed unused fBool member from _BTextInput_ and other cleanup.

BTextView:
* Reimplemented BTextView::_AutoResize() so that it works well with
BTextControl and autoscrolling when the alignment is not B_ALIGN_LEFT.
I needed two new members for this, fLeftInset and fRightInset which are
the original insets from the fTextRects. It might currently be broken
for renaming things in Tracker, I will have to check. _AutoResize() no
longer messes up the fTextRect insets.
* Fixed stray carrets sometimes being left over, mostly when auto scrolling,
but I observed them in other cases as well.
* Prevent negative scrolling offsets when autoscrolling. Fixes weird scrolling
offsets when navigating to the left.
* Reset scrolling to B_ORIGIN when SetText() is called. Fixes for example
starting to type in the middle of the control in Vision when entering new
text and autoscrolling was triggered before.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24101 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 13ca2d94 Tue Oct 23 14:44:17 MDT 2007 Axel Dörfler <axeld@pinc-software.de> Patch by Vasilis Kaoutsis - thanks!:
* Rewrote TextView.h
* Renamed all private methods to have the underscore prefix.
And also:
* Whitespace and line width cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22688 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 13ca2d94 Tue Oct 23 14:44:17 MDT 2007 Axel Dörfler <axeld@pinc-software.de> Patch by Vasilis Kaoutsis - thanks!:
* Rewrote TextView.h
* Renamed all private methods to have the underscore prefix.
And also:
* Whitespace and line width cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22688 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f6e4cbb9 Mon Oct 15 14:13:55 MDT 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

Completed in 80 milliseconds