I would like the Scintilla to automatically adjust the
width of the view area to match the width of the
longest line in the editor.
Currently the end of the long line is not visible if
you try to view it by using the scrollbar, but if you
set caret to that line and press "end" to get end of
the line, the width of the view area is fixed and the
line can be viewed via scrollbars also. The whole line
should be inside the view area by default.
Scintilla could perhaps hold the length of the longest
line in an internal variable and update that value when
text changes and use this value to calculate the width
for the view area and update it when necessary. This
should at least work for fonts where all characters
have equal width, which is true for most editors.
This is missing from Scintilla, but affects Scite also.
Log in to post a comment.