Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    horizontal scro
    4 Posts 2 Posters 4.1k Views
    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 ZimberoffS
      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 FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        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 ZimberoffS
          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 FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            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
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors