• Login
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.2k 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.
  • S
    Stefan Zimberoff
    last edited by Nov 8, 2016, 9:37 PM

    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?

    C 1 Reply Last reply Nov 9, 2016, 11:34 PM Reply Quote 0
    • C
      Claudia Frank @Stefan Zimberoff
      last edited by Nov 9, 2016, 11:34 PM

      @Stefan-Zimberoff

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

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • S
        Stefan Zimberoff
        last edited by Nov 10, 2016, 8:36 PM

        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.

        C 1 Reply Last reply Nov 10, 2016, 11:22 PM Reply Quote 0
        • C
          Claudia Frank @Stefan Zimberoff
          last edited by Nov 10, 2016, 11:22 PM

          @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
          3 out of 4
          • First post
            3/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors