• How To Delete Specific String In Macro Recorder

    Locked
    6
    1 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @Anthony-Jocius

    Amazing…

    Check out this link and the things it links to in order to really understand the magic. :)

  • N++v7.7 Misspelled words not underlined/highlighted

    14
    0 Votes
    14 Posts
    3k Views
    PredelnikP

    I’ve released the version with the fix for N++ 7.7
    https://github.com/Predelnik/DSpellCheck/releases/tag/v1.4.13

  • Find and Add To Selection In 7.7

    37
    0 Votes
    37 Posts
    13k Views
    AndreCunhaA

    Besides enabling Multi-Editing (as explained by @Alan-Kilborn in his comment), I just had to call the functions directly, just like Scintilla documentation specifies:

    SCI_MULTIPLESELECTADDNEXT adds the next occurrence of the main selection within the target to the set of selections as main. If the current selection is empty then select word around caret.

    SCI_MULTIPLESELECTADDEACH is similar to SCI_MULTIPLESELECTADDNEXT but adds multiple occurrences instead of just one.

    For me, it was unnecessary to call SCI_TARGETWHOLEDOCUMENT, so, for selecting all instances of the word at once, you could just call SCI_MULTIPLESELECTADDNEXT followed by SCI_MULTIPLESELECTADDEACH:

    // selects all instances of the selected word (or the word around the caret) sci_sendmsg 2688 // SCI_MULTIPLESELECTADDNEXT sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH

    …which has the same effect of simply calling SCI_MULTIPLESELECTADDEACH twice:

    // selects all instances of the selected word (or the word around the caret) sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH

    Or, instead of blindly calling it twice, you could check if something is already selected with SCI_GETSELECTIONEMPTY (as used on other comments) and then call it only once:

    // selects all instances of the selected word (or the word around the caret) sci_sendmsg SCI_GETSELECTIONEMPTY if $(MSG_RESULT) == 1 then sci_sendmsg 2688 // SCI_MULTIPLESELECTADDNEXT endif sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH

    PS: It would be really nice to have both commands (SCI_MULTIPLESELECTADDNEXT and SCI_MULTIPLESELECTADDEACH) available for hotkeys in “Settings” > “Shortcut Mapper” > “Scintilla commands”.

  • tab navigation enhancement

    Locked
    8
    0 Votes
    8 Posts
    1k Views
    Smart Cat Collar ProjectS

    It’s really an enhancement ! Thanks for the precisions, too.

  • Personal Syntax Highlight

    4
    0 Votes
    4 Posts
    979 Views
    EkopalypseE

    @vk

    if you install pythonscriptplugin, check the samples out, there is an LogFileLexer example, maybe you can already use it like it is.

  • No format "font-name" (CSS)

    Locked
    2
    0 Votes
    2 Posts
    363 Views
    andrecool-68A

    @Сергей-Морозов
    Можно открыть файл autoCompletion\css.xml и дополнить недостающие свойство для синтаксиса CSS

  • Updated to v7.7. Run Menu no longer displays "Launch in ".

    12
    0 Votes
    12 Posts
    4k Views
    László BotkaL

    If I copy the .txt file with different extensions, the browsers are enabled and start for .cmd , .html , .xml , .c , but disabled for .txt , .zzz, .log , no extension.
    I don’t see what is the sense of this.
    I think if a file is open and npp can work with it, the view should work.
    The same issue exists on my wife’s Windows 8 machine.

  • notepad++ not working plugin zen-coding

    Locked
    2
    0 Votes
    2 Posts
    712 Views
  • I changed the icon of version 7.7 that I did not like

    6
    0 Votes
    6 Posts
    830 Views
    andrecool-68A

    @Leonardo-Curbelo-Betancort
    I can delete this icon without Visual Studio)))

  • NP++ 7.7 insists on opening a text document with "txt" extension

    5
    0 Votes
    5 Posts
    1k Views
    mkupperM

    One more comment about that opening a file using the full path to notepad++ works.

    If you run

    notepad one

    then Windows executes the following:

    "C:\Program Files (x86)\Notepad++\notepad++.exe" -notepadStyleCmdline -z notepad one

    You can experiment with removing the command line arguments which is how I found the problem is caused by the -notepadStyleCmdline parameter. The -z notepad parameter is also not documented but it appears the word notepad comes from Windows and the preceding -z is used to ignore the word “notepad” that Windows added to the command line.

  • N++ default font contains visually ambiguous characters

    Locked
    2
    1 Votes
    2 Posts
    790 Views
    PeterJonesP

    @cowlinator said:

    default font

    To quote myself from earlier today:

    The wonderful thing about tiggers… er, I mean, Notepad++, is that it’s highly configurable.

    If you don’t like a default, change the setting yourself. Style Configurator is your friend.

    Why was this chosen

    “Courier New” was probably chosen because it’s nearly universal on Windows machines, dating back as far as I can remember(*) in my font-based computing, and can be counted on to be there. And maybe there are people who prefer Courier New over Lucida Console, or whatever other “default” you might want to suggest.

    In the end, no default setting will make everyone happy for a given application, so the author picked some default and gave users the ability to change it. Since it’s configurable, the chances are pretty slim that the default will change.

    update: * “as far back”: a quick search found that Courier New was introduced as the system font in Windows 3.1 back in 1992. The first reference I can find to Lucida Console was Win 2000.

  • html & css

    Locked
    1
    0 Votes
    1 Posts
    347 Views
    No one has replied
  • Unable to download - repo down

    Locked
    2
  • 0 Votes
    1 Posts
    393 Views
    No one has replied
  • CTRL + SHIFT + O

    Locked
    6
    0 Votes
    6 Posts
    1k Views
    dinkumoilD

    @Stefano-De-Blasiis

    Did you follow the suggestion of @Meta-Chuh to reinstall the File Switcher plugin?

  • A bug when creating a new text file (2d episode)

    Locked
    1
    0 Votes
    1 Posts
    457 Views
    No one has replied
  • Explorer Plugin Hash Is Not Correct

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    Meta ChuhM

    welcome to the notepad++ community, @jhframe

    unfortunately the explorer plugin author has apparently made changes to the older 1.8.5 download, which is in the 7.6.6 plugins admin list.
    it’s possible this has happend as he released 1.8.6.

    currently, you have to install it manually, by downloading Explorer.zip from here:
    https://github.com/oviradoi/npp-explorer-plugin/releases and extract it.

    go to the notepad++ menu plugins > open plugins folder to open it in windows explorer. create a folder called Explorer. copy the extracted Explorer.dll into the Explorer folder. restart notepad++

    best regards.

  • A bug when creating a new text file ?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Meta ChuhM

    @Emric-Landuro

    many thanks for reporting back.

    I don’t know what was wrong, and i don’t care… sometimes, PCs… hmm…

    welcome to the club 😉

    best regards.

  • Bulk Replace of 4k files with different strings in URL (help, please)

    Locked
    8
    0 Votes
    8 Posts
    1k Views
    Terry RT

    @Alan-Kilborn said:

    Well, OK

    He left in a hurry! After posting (in your defence) I looked at his profile, ONLY to find it’s gone. a short fuse perhaps?

    Terry

  • User defined language: Font settings are not imported correctly anymore.

    Locked
    3
    0 Votes
    3 Posts
    931 Views
    fkl79675F

    Thank you for the quick response.
    Yes, copy udl file to the mentioned folder (userDefineLangs -> without “d”) works. The fonts are shown correctly.
    Also yes, the mentioned Issue reflects my experience as well. I use the latest npp version.

    I would appreciate your work arround with copy job in a newer version.