Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    General Discussion
    horizontal scro
    2
    4
    3831
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Stefan Zimberoff
      Stefan Zimberoff last edited by

      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?

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Stefan Zimberoff last edited by

        @Stefan-Zimberoff

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

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Stefan Zimberoff
          Stefan Zimberoff last edited by

          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.

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Stefan Zimberoff last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors