• Encoding detection in CSS seems is not rely on line: @charset "UTF-8";

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [BUG] Plug-in 'COMPARE' crashes Notepad++

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Igor MininI

    Could you provide the files you are comparing, or at least crash dump?

  • How to show a thin vertical line after column 112?

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    guy038G

    Hello Matt,

    In addition to the vertical edge feature, given by dail, you could search, in Regular expression mode, for the regex :

    ^.{112}\K.+. This regex find ANY range of characters, in a line, located AFTER column 112, throughout the current file

    On the other hand, the regex ^.{112}\K would match the zero length string, located between the columns 112 and 113.

    So, after a first search, hit the ESC key to close the Find dialog. Then any hit, on the F3 function key, will move the cursor just after column 112, of the next line, with 112 or more characters long :-)

    Thinking about location by column, here are, below, some useful regexes, relative to that topic. Of course, just replace the variable ‘n’, by an integer !

    •---------------------------------------------------------------------------------• | With the "Count" button, of the "Find" dialog | | | | Options "Regular expression" CHECKED and ". matches new line" UNCHECKED | •-------------•-------------------------------------------------------------------• | ^\R | COUNT all the EMPTY lines | | ^.+\R | COUNT all the NON EMPTY lines | | ^.+ | COUNT all the NON EMPTY lines | | ^.*\R | COUNT all the lines | | | | | ^.{n+1,} | COUNT all the lines, of MORE than 'n' characters long | | ^.{n}\R | COUNT all the lines, of, EXACTLY, 'n' characters long | | ^.{1,n-1} | COUNT all the NON EMPTY lines, of LESS than 'n' characters long | | ^.{0,n-1} | COUNT all the lines of LESS than 'n' characters long | •-------------•-------------------------------------------------------------------• •-----------------------------------------------------------------------------------------------------------------------------• | With the "Find Next" button, of the "Find" dialog | | | | Options "Regular expression" CHECKED and ". matches new line" UNCHECKED | •-------------•---------------------------------------------------------------------------------------------------------------• | ^.{n}\K.+ | FIND any range of characters, in a line, located AFTER column 'n', in ALL lines of MORE than 'n' characters | | ^.{n}\K.* | FIND any range of characters, in a line, located AFTER column 'n', in ALL lines of 'n' or MORE characters | | | | | ^.{n}\K | MOVE the CURSOR to the location, BETWEEN column 'n' and 'n+1', in ALL lines of 'n' or MORE characters | •-------------•---------------------------------------------------------------------------------------------------------------• •----------------------------------------------------------------------------------------------------------------------------------• | With the "Replace All" button of the "Replace" dialog ( NOTE : Button "Replace" FORBIDDEN, due to the '\K' form ! ) | •-------------•----------------•---------------------------------------------------------------------------------------------------• | Find what | Replace with | Options "Regular expression" CHECKED and ". matches new line" UNCHECKED | •-------------•----------------•---------------------------------------------------------------------------------------------------• | ^.{n}\K.+ | | DELETE any character, AFTER column 'n', in ALL lines of MORE than 'n' characters | | | | | | ^.{n}\K.+ | STRING | REPLACE all characters, AFTER column 'n', by "STRING", in ALL lines of MORE than 'n' characters | | ^.{n}\K.* | STRING | REPLACE all characters, AFTER column 'n', by "STRING", in ALL lines of 'n' or MORE characters | | | | | | ^.{n}\K | STRING | INSERT "STRING", at column 'n+1', in ALL lines of 'n' or MORE characters | •-------------•----------------•---------------------------------------------------------------------------------------------------•

    Enjoy N++,

    Best Regards,

    guy038

  • Number Color

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    gerdb42G

    NPP supports a feature called “syntax coloring” which applies different styles to elements of the text, numbers being one of them. However, the styles to be applied are different for different needs. The style (or “language”) to be applied to the current file is determined by its extension, e.g. .js are treated as “Javascript” .html as “HTML” an so on.

    So if you had numbers colored you probably had opened a file which NPP recognized as some sort of colorable text or you had selected some entry from the “Language” menu.

    However, by default, if you start a new text or open an unrecognized file the style that gets applied is “Normal Text” which does no highlighting at all.

    So if you want numbers to be highlighted, associate your files with a language setting and select a default language for new files.

    You also may define your own language to be applied to specific files. I for example use a custom definition for .log-files which highlights keywords that may indicate unusual events such as “Error”, “Failure” or “Exception”.

  • [Bug] Read only setting is missing in next session

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    dailD

    Screenshot and/or code sample?

  • Python script rereplace stops working

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    Make sure you have periodic back ups turned off in the settings.

  • Notepad++ GO TO DEFINITION FEATURE

    Locked
    5
    0 Votes
    5 Posts
    10k Views
    pnedevP

    Hello,

    You can use NppGTags plugin.
    You can find it through Plugin Manager or for the latest version here:
    https://sourceforge.net/projects/nppgtags/files/latest/download

    BR

  • Find on whole document

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    On the find dialog check mark “Wrap Around”

  • Add support for Scala

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [BUG] file can not be saved with "folder as workspace" open

    2
    0 Votes
    2 Posts
    6k Views
    Eddy ZhangE
    Issue can be reproduced using steps bellow:

    pre-condition:
    with “Folder as Workspace” open.

    Steps:

    File -> New Type some text in the new file. Press “Ctrl + S” to save file, name file as “aaa.html” After step 3, texts typed into “aaa.html” can’t be saved even press “ctrl + s”. I need to close notepadd++ , then reopen it again to make it work normally.

    Thanks.

  • SysWow64 bug!

    2
    1 Votes
    2 Posts
    13k Views
    Mathias BehrM

    I think this is an issue since years - I would really appreciate if it get fixed, because for editing system files on x64 systems I’m still using Notepad2-x64 in order to not accidatially edit the wrong file and don’t realize it.

    npp is such a great tool and it would be even better if it would ignore the system redirection vor x86 programs or even better better if it had a x64 version! ;o)

    thx a lot in advance!

    cheers
    Mathias

  • Notepad++ 6.9.2 Tail Log and Highlighting/Marking

    Locked
    1
    0 Votes
    1 Posts
    8k Views
    No one has replied
  • Bug in "Find in files" function

    Locked
    2
    0 Votes
    2 Posts
    13k Views
    Scott SumnerS

    That is not a bug; that is how it is supposed to function.

  • 0 Votes
    2 Posts
    2k Views
    No one has replied
  • 1 Votes
    1 Posts
    1k Views
    No one has replied
  • Feature Request: Characters that are considered to separate words

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Installation - Error opening file for writing

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Jopin KlobeJ

    Solved (for me) …

    Re-booted … installed … no problem …

  • another month of waiting wasted for nothing

    Locked
    2
    0 Votes
    2 Posts
    20k Views
    dailD

    Please try to keep posts on this forum constructive.

  • Separate Reload-Dialog

    2
    3 Votes
    2 Posts
    2k Views
    kawingaK

    i would like to tag this topic with “feature request” or rename it, but it’s only possible 180 seconds after first submit