• How to mass associate extensions?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Maybe the simplest answer ever?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Basic vs. Verbose save

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    BlueHat GURUB

    I found 3a in the default backup location, thank goodness. However, that still leaves my remaining queries, please.

  • Multiple Instance mode acting oddly

    Locked
    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • nppLocalization folder

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Replace value according to previous line

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    geoslakeG

    Wow, thank you very very much, guy038, you not only almost saved my life :), but you took the time to explain things extensively to me, thanks again !

    Cheers

  • Help, need text editor for mac

    Locked
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • MySQL Server 5.1

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Escape backslash quotes in string in user defined language

    Locked
    2
    1 Votes
    2 Posts
    6k Views
    Jan SchreiberJ

    In the UDL dialog, click the “Operators and Delimiters” tab. Under the caption “Delimiter 1” add the double quotation mark " as both “Open” and “Close”, the backslash as “Escape”. Same for the single quotation mark under “Delimiter 2”.

  • ‘containing’ line numbers from Find window not copied anymore

    Locked
    4
    0 Votes
    4 Posts
    9k Views
    guy038G

    Hi Ron,

    When the new copy behaviour, was implemented in N++ v6.7.9, as I’m rather curious, by nature, I just tested a way to get the old behaviour too ! And I found, by hazard, the simple CTRL + C shortcut, to simulate it :-)

    An obvious solution would be to get two COPY options, while right-clicking, inside the Search Result Window.

    For instance, their syntaxes could be something like :

    Copy [selected] text , to copy the lines with their line numbers

    Copy [selected] lines, to copy ONLY, the text of the lines

    Cheers,

    guy038

  • Load config.xml failed!

    3
    0 Votes
    3 Posts
    7k Views
    Serge LamarcheS

    I uninstalled and reinstalled the program and the problem seems solved. Other issues were also solved.

  • Request to save

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jan SchreiberJ

    Recent versions of Notepad++ store the contents of open files automatically and reopen them after the next application start. If you don’t want that behavior, go to Settings -> Preferences -> Backup and uncheck “Enable session snapshot and periodic backup”. Notepad++ will then prompt you for a file name when closing.

  • Loading old shortcuts.xml file, still no macro

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Jan SchreiberJ

    By default, all config data of Notepad++ are saved in and loaded from the folder %APPDATA%\Notepad++. Unless you run N++ in portable mode, it will ignore config files put into the application directory.

  • Column-copy from Find result window gives only last line

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Ron HermsenR

    Hi Guy,

    Indeed with Crtl-C it works. Thanks for the advice.
    Still I think that using copy from the pop-up window should give the same result, and not only copy the last full line.

    Thanks

    Ron

  • Incorrect line endings

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Kain VäljaotsK

    Hi,
    existing line endings in opened file do not change at all,
    just editing mode will be wrong, and every new line I add will have windows line endings.

  • Built-In Operators? (Lua)

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    guy038G

    Hello StormFX,

    May be, you could be interested by the Gary Mod 10 Lua syntax highlighter plugin for N++, that you can download, from the link, below :

    https://code.google.com/p/npp-gmod-lua/downloads/detail?name=NppGmodLuaPlugin-v1.5.zip

    For a manual installation :

    Extract the GmodLua.dll library, at top level of this archive, in your N++ plugins folder

    Extract the GmodLua.xml file, located in the Config folder of the archive, in your active N++ Config folder

    It works nice, with my 6.8.1 N++ installation :-))

    Main page can be found at the address :

    https://code.google.com/p/npp-gmod-lua/

    Just, note that this site is, from now on, archived and read-only and that it moved to GitHub :

    https://github.com/kylefleming/npp-gmod-lua

    However, you’ll, still, find some information and the release notes, from the two links, below :

    https://code.google.com/p/npp-gmod-lua/wiki/HowTos

    https://code.google.com/p/npp-gmod-lua/wiki/IntroAndChangeLog

    You may modify the foreground and/or background colours of any of the 19 GmodLua defined styles :

    From the Style configurator, choosing GmodLua in the Language drop-down list, then any style, proposed in the Style drop-down list

    Directly changing values of the fgColor/bgColor items, in the LexerStyles node, at the end of the GmodLua.xml file

    Best Regards,

    guy038

    P.S :

    I’m wondering : are you the same guy, to whom I replied, in March 2014, on SourceForge forum, and who asked for help, with these funny terms Thx 4 F1 ?

  • NP++ as default .txt editor on W10

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Find and Replace

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    guy038G

    Hello Linda,

    regular find/replace wont work because each line is different in those spaces

    I don’t understand very well ? May be, your text contains some tabulation character, which don’t match the same physical space length ?

    If so, I would advice you, to replace, first, any tabulation by the corresponding amount of space characters, with the menu command Edit - Blank Operations - TAB to Space

    Then, taking your previous example, just perform a simple regular search/replace operation like, for instance :

    SEARCH = ^.{219}\K... and REPLACE = EMPTY to delete from the 220th till the 222th characters

    SEARCH = ^.{219}\K... and REPLACE = ABC to insert a fixed string between the 220th column till the 222th column

    SEARCH = ^.{219}\K(...) and REPLACE = [\1] to surround the characters, between the 220th and the 222th, with two square brackets

    IMPORTANT :

    Due to the special \K syntax, you must use a global replacement, clicking on the Replace All button

    If you prefer use a step-by-step replace operation, the different S/R, above, should be rewritten as below :

    SEARCH = ^(.{219})... and REPLACE = \1 to delete from the 220th till the 222th characters

    SEARCH = ^(.{219})... and REPLACE = \1ABC to insert a fixed string between the 220th column till the 222th column

    SEARCH = ^(.{219})(...) and REPLACE = \1[\2] to surround the characters, between the 220th and the 222th, with two square brackets

    Hope that helps you a bit !

    Best Regards,

    guy038

    P.S. :

    The nice thing, about the \K syntax, is that anything that matched before the \K form, is forgotten by the regex engine! So, in the examples above, the matched string (...) is, ONLY, the three characters, at positions 220, 221 and 222 :-)

  • Right-Click >> Print is missing when notepad is standard text program

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Is there a way to create a new language based on an existing one?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    dailD

    No there is not unfortunately. I’ve looked into this in the past making my own variant of C. The User Defined Languages work completely differently from the ones already built in. There are ways of adding new keywords to existing languages though if this is all you are wanting to do. If you use the menu Settings > Style Configurator... and select VB under the languages languages and WORDS under the style list, towards the right you can add user-defined keywords. This may not be exactly what you were wanting but it may be enough to get by if you don’t want to recreate VB as a user defined language.