diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-26 14:10:15 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-26 14:10:15 +1000 |
commit | 537504925449cdfe16b7feaf5fad18b6e34e8a2e (patch) | |
tree | 8e7b272f823e7f187d90e69b7cc4028866e73680 /src/EditView.h | |
parent | eb42a44f7a9fe514ff8677254e3a707777449acf (diff) | |
download | scintilla-mirror-537504925449cdfe16b7feaf5fad18b6e34e8a2e.tar.gz |
Specify concrete class for ldTabstops and use directly instead of copying value
of .get() before use.
Diffstat (limited to 'src/EditView.h')
-rw-r--r-- | src/EditView.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/EditView.h b/src/EditView.h index f79147135..37d0423bb 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -42,13 +42,15 @@ void DrawStyledText(Surface *surface, const ViewStyle &vs, int styleOffset, PRec typedef void (*DrawTabArrowFn)(Surface *surface, PRectangle rcTab, int ymid); +class LineTabstops; + /** * EditView draws the main text area. */ class EditView { public: PrintParameters printParameters; - std::unique_ptr<PerLine> ldTabstops; + std::unique_ptr<LineTabstops> ldTabstops; int tabWidthMinimumPixels; bool hideSelection; |