diff options
| author | Greg Ercolano <erco@seriss.com> | 2017-11-23 19:34:33 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2017-11-23 19:34:33 +0000 |
| commit | 0fb2a55fc8794f29053434c1ce2a94c7746b2b58 (patch) | |
| tree | ed27ddbf8cdc5269ba5224e52a30fc803d14230e /FL/Fl_Text_Display.H | |
| parent | 02d58597e90088d4116e23acc8be1c0f04c8f19c (diff) | |
Fixes issued raised in STR #3422; Fl_Text_Display constructor order issues;
organize member initialization first, method calls last.
Also:
Reorg'ed member initialization to match order in .H
to detect missing member inits.
Noticed member mModifyingTabDistance is unused.
Tagged with XXX: but left in place, since it's
a protected member, and might be utilized by user code.
We should probably remove this member.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Text_Display.H')
| -rw-r--r-- | FL/Fl_Text_Display.H | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 22853bb46..fe84076a6 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -558,9 +558,8 @@ protected: int mNLinesDeleted; /* Number of lines deleted during buffer modification (only used when resynchronization is suppressed) */ - int mModifyingTabDistance; /* Whether tab distance is being - modified */ - + int mModifyingTabDistance; /* Whether tab distance is being modified XXX: UNUSED */ + mutable double mColumnScale; /* Width in pixels of an average character. This value is calculated as needed (lazy eval); it needs to be mutable so that it can be calculated |
