Skip to content

Horizontal scrolling jumps #24

Answered by rhaberkorn
blakemcbride asked this question in Q&A
Discussion options

You must be logged in to vote

This is already configurable in great detail thanks to Scintilla, see SCI_SETXCARETPOLICY. It's not very user-friendly I confess, especially since you have to look into the Scintilla header for the values of CARET_SLOP and other constants. (Although that's actually a Scintilla doc issue - usually they print the raw integers as well.)

For instance to scroll by one character instead of "jumping", try
0ESSETXCARETPOLICY$$$ ($ typed with Escape of course).
If you would like to see a bit of the line following the cursor, set a strict "slop" value, e.g. 10 characters: 10,(1#4)ESSETXCARETPOLICY$$$

You can add these statements in ~/.teco_ini somewhere under the !add! label in the ED hook macro (s…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rhaberkorn
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #23 on October 16, 2024 14:51.