* 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
This commit is contained in:
@@ -312,8 +312,8 @@ private:
|
||||
float _StyledWidth(int32 fromOffset, int32 length,
|
||||
float* outAscent = NULL,
|
||||
float* outDescent = NULL) const;
|
||||
float _StyledWidthUTF8Safe(int32 fromOffset,
|
||||
int32 numChars, float* outAscent = NULL,
|
||||
float _TabExpandedStyledWidth(int32 offset,
|
||||
int32 length, float* outAscent = NULL,
|
||||
float* outDescent = NULL) const;
|
||||
|
||||
float _ActualTabWidth(float location) const;
|
||||
|
||||
Reference in New Issue
Block a user