7912dad947
Don't resize text view in FrameResized() if resizable, this is done in _AutoResize() instead. Set text rect width to width of max line when word-wrap is off. Text rect width shrinks to the width of the text matching behavior of BeOS R5 and previous Haiku. This fixes Tracker Edit name. Limit max width to column width in list mode or 30em in icon mode. Filter paste messages limiting to max width in Tracker Edit name. General BTextView fixes: As a consequence of the text rect shrinking to fit the text, adjust highlighting to go at least to edge of the view even if text rect width is narrower. Extend the invalidation area beyond text rect when redrawing to include highlighted areas. Text views behave properly when overflow occurs i.e. when you type text off the end of the text view. The text is nudged over as you type/scroll so that the previous text is visible. This sorta worked before but now works better. Fix text rect centering by replacing switch with BLayoutUtils::AlignOnRect(). Coalesce consecutive draw calls when inserting and deleting text to prevent flashing for example when resizing the window. Redraw text when the text view scrolls fixing a bug I noticed in StyledEdit. Workaround negative height Beezer bug. Fixes #16642, #16476 Change-Id: I2d32d6039944d2dc3218ce4de71f2966cc98c866 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3642 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> |
||
---|---|---|
.. | ||
AbstractLayout.h | ||
AbstractLayoutItem.h | ||
AffineTransform.h | ||
Alert.h | ||
Alignment.h | ||
Bitmap.h | ||
Box.h | ||
Button.h | ||
CardLayout.h | ||
CardView.h | ||
ChannelControl.h | ||
ChannelSlider.h | ||
CheckBox.h | ||
ColorControl.h | ||
Control.h | ||
ControlLook.h | ||
Deskbar.h | ||
Dragger.h | ||
Font.h | ||
Gradient.h | ||
GradientConic.h | ||
GradientDiamond.h | ||
GradientLinear.h | ||
GradientRadial.h | ||
GradientRadialFocus.h | ||
GraphicsDefs.h | ||
GridLayout.h | ||
GridLayoutBuilder.h | ||
GridView.h | ||
GroupLayout.h | ||
GroupLayoutBuilder.h | ||
GroupView.h | ||
IconUtils.h | ||
Input.h | ||
InterfaceDefs.h | ||
Layout.h | ||
LayoutBuilder.h | ||
LayoutContext.h | ||
LayoutItem.h | ||
LayoutUtils.h | ||
ListItem.h | ||
ListView.h | ||
Menu.h | ||
MenuBar.h | ||
MenuField.h | ||
MenuItem.h | ||
OptionControl.h | ||
OptionPopUp.h | ||
OutlineListView.h | ||
Picture.h | ||
PictureButton.h | ||
Point.h | ||
Polygon.h | ||
PopUpMenu.h | ||
PrintJob.h | ||
RadioButton.h | ||
Rect.h | ||
Region.h | ||
Screen.h | ||
ScrollBar.h | ||
ScrollView.h | ||
SeparatorItem.h | ||
SeparatorView.h | ||
Shape.h | ||
Shelf.h | ||
Size.h | ||
Slider.h | ||
SpaceLayoutItem.h | ||
SplitLayoutBuilder.h | ||
SplitView.h | ||
StatusBar.h | ||
StringItem.h | ||
StringView.h | ||
TabView.h | ||
TextControl.h | ||
TextView.h | ||
TwoDimensionalLayout.h | ||
UnicodeBlockObjects.h | ||
View.h | ||
Window.h |