• Login
Community
  • Login

SCI_WORDLEFT and SCI_WORDRIGHT treats sentences as words in New File?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 4 Posters 2.9k 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.
  • R
    Ron Poulton
    last edited by Mar 23, 2017, 7:06 PM

    When working in a regular ol’ saved file, Ctrl+Left and Ctrl+Right skip past words and symbols as it should. In a new, unsaved file, however, the keys skip to the beginning or end of the current sentence (as context requires), as though spaces were part of “words”.

    Is there a setting I need to modify in order to gain the default action for skipping words in new files?

    C 1 Reply Last reply Mar 23, 2017, 8:19 PM Reply Quote 1
    • C
      Claudia Frank @Ron Poulton
      last edited by Mar 23, 2017, 8:19 PM

      @Ron-Poulton
      I don’t have the reported behavior using npp 7.3.2 at the moment.

      Could you provide more details like which lexer (language menu) is in use, your debug-info
      and whether you use themes or not?

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • R
        Ron Poulton
        last edited by Mar 28, 2017, 6:11 PM

        I’m using NPP 7.3.3. Lexer is “Normal Text”, I’m not actively using themes, and debug-info reports:

        Notepad++ v7.3.3 (32-bit)
        Build time : Mar 8 2017 - 03:37:37
        Path : C:\Program Files\Notepad++\notepad++.exe
        Admin mode : OFF
        Local Conf mode : OFF
        OS : Windows 7 (32-bit)
        Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

        1 Reply Last reply Reply Quote 0
        • P
          PtrJsn
          last edited by Mar 28, 2017, 7:15 PM

          Ron, I just noticed a similar problem today, possibly tied to recently upgrading to Notepad++ v7.3.3, 32-bit program running on Win7 SP1 64-bit. Ctrl+Left and Ctrl+Right skipped almost whole sentences, occasionally terminating spaces but not terminating punctuation. Double-clicking on a word highlighted the same block of text–i.e. pretty much the whole sentence, much more than a single word.

          Some research showed only this thread referencing the problem, & poking around in my settings showed nothing out of the ordinary. I wondered if I’d copied & pasted weird text with special characters, but editing the text didn’t help. Even moving around & selecting text in NPP’s change.log had the same issue.

          I uninstalled Notepad++ & reinstalled & it’s fine now. During uninstall, it asked to wipe out my user settings & I said yes, in case something got corrupted in there; I’m not sure that was necessary but I knew it’d be easy enough to redo settings I changed. Hopefully this fixes it for you too.

          tl;dr uninstall & reinstall Notepad++

          1 Reply Last reply Reply Quote 0
          • R
            Ron Poulton
            last edited by Mar 30, 2017, 6:06 PM

            While working in the Normal Text file, after I switched the lexer to PHP, the CTRL+Arrow keys skipped words as they should. How do I get this functionality in the Normal Text lexer? I’d like to avoid having to reinstall if possible. I don’t mind changing a setting here and there.

            1 Reply Last reply Reply Quote 0
            • H
              Huilian Haruki
              last edited by Apr 27, 2017, 6:58 AM

              I had the same problem.
              I was running v7.3.3 (64 bit). I uninstalled it and installed v7.3.2 (64 bit). It works fine now. :)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors