Is there a setting for the Horizontal scroll? Would like it to be more than 4 characters.



  • I don’t like to run in the ‘Wrap’ mode, is there a way to adjust the amount the horizontal scrolling when the cursor reaches the right edge?



  • @Stefan-Zimberoff

    not clear for me what you try to achieve, could you clarify it?

    Cheers
    Claudia



  • I run in the Non-Wrap mode. When you move the cursor to the right edge minus one character, the next cursor movement to the right scrolls the display to the left by three characters. I would like to be able to change this amount to something like 30 characters.



  • @Stefan-Zimberoff

    Afaik, there is no builtin configurable parameter to achieve this.
    Just some thoughts, do you know the ctrl+right/left behavior?
    If this doesn’t suite you another possible solution might be to
    create two python scripts and assign two shortcuts.
    One would jump an amount of chars to the right and the other
    to the left.
    I assume
    editor.positionFromLine (to get the line start position)
    editor.getLineEndPosition (as name says …)
    editor.lineFromPosition (…)
    editor.getCurrentPos (…)
    editor.gotoPos (…)
    should do the trick.
    If you need help creating the scripts - let us know.

    Cheers
    Claudia


Log in to reply