• BASIC wanted

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @NoPro-Skills

    may I ask what BASIC languages has which can’t be done using builtin visual basic lexer?

    Cheers
    Claudia

  • word completion/suggestion to include '.' (period character)

    Locked
    1
    0 Votes
    1 Posts
    983 Views
    No one has replied
  • tab to space as default setting

    Locked
    4
    0 Votes
    4 Posts
    31k Views
    Andy BruntonA

    Thank you so much, I just couldn’t see it!

  • Why not use dark background reducing eye stress?

    Locked
    3
  • Find result panel traduction

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @los-amigos

    looks like it is hard coded.

    case WM_CONTEXTMENU : { if (HWND(wParam) == _scintView.getHSelf()) { POINT p; ::GetCursorPos(&p); ContextMenu scintillaContextmenu; vector<MenuItemUnit> tmp; tmp.push_back(MenuItemUnit(NPPM_INTERNAL_FINDINFINDERDLG, TEXT("Find in this finder..."))); if (_canBeVolatiled) tmp.push_back(MenuItemUnit(NPPM_INTERNAL_REMOVEFINDER, TEXT("Close this finder"))); tmp.push_back(MenuItemUnit(0, TEXT("Separator"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCOLLAPSE, TEXT("Collapse all"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERUNCOLLAPSE, TEXT("Uncollapse all"))); tmp.push_back(MenuItemUnit(0, TEXT("Separator"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCOPY, TEXT("Copy"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERSELECTALL, TEXT("Select all"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCLEARALL, TEXT("Clear all"))); tmp.push_back(MenuItemUnit(0, TEXT("Separator"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFEROPENALL, TEXT("Open all"))); scintillaContextmenu.create(_hSelf, tmp); scintillaContextmenu.display(p); return TRUE; } return ::DefWindowProc(_hSelf, message, wParam, lParam); }

    Maybe you wanna open an issue here if it hasn’t been already addressed.

    Cheers
    Claudia

    Cheers
    Claudia

  • Desktop Bridge to Windows Store target Windows 10 S

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • New Keyboard Shortcut to Uncomment Out Block of Code

    Locked
    2
    0 Votes
    2 Posts
    9k Views
    Claudia FrankC

    @TJ-Kroll

    ctrl+shift+k should do the job.

    Cheers
    Claudia

  • Possible NPP x64 bug?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Ln Happy TiltonL

    Thank you… That worked!

  • Error when accessing the plugin manager.

    5
    0 Votes
    5 Posts
    4k Views
    Bob HansonB

    I just spent a bunch of time trying to get the plugin manager to work (uninstall/reinstall notepad++ a couple of times, delete files in appdata, manually install latest 1.4.9 plugin manager, etc…). This is on Windows 7 64-bit running 32-bit Notepad++. No matter what I’ve done the default settings keep generating the error “There was an error dowloading the plugin list. Please check your internet connection, and your proxy settings in Internet Explorer, Edge or Chrome”. I also noticed that the file being created, PluginManagerPlugins.zip, was a corrupt archive.

    The only thing that has finally worked is to use the "Use development plugin list (may contain untested, unvalidated or uninstallabel plugins) option listed in Plugin Manager Settings. All other settings are default.

  • Why after update my plugin manager downgraded back to the old version?

    6
    0 Votes
    6 Posts
    4k Views
    Ahu LeeA

    @nandaccio

    thanks you very much for your explanation and for pointing me to this new 1.4.9 version.

    BTW, that zip file from github also contains the updater file gpup.exe. Do you know by any chance know what its purpose is?

  • Shortcut Mapper: how do i change action’s keyboard shortcuts?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Notepad++ Settings are not saved

    Locked
    4
    0 Votes
    4 Posts
    8k Views
    Claudia FrankC

    @Allen-Segall

    normally it should work even running npp not with administrative privileges.
    You might want to check the permission of your %APPDATA%\notepad++
    directory.
    Maybe you wanna give it a try with the following procedure.
    Stop npp,
    Temporarily rename %APPDATA%\notepad++ directory.
    Start npp as normal user.
    A new %APPDATA%\notepad++ should have been created.
    Do your modifications.
    Stop npp.
    Double click the shortcut and see if the settings have been stored.

    I’m new to Win10.

    Me too, I’m running linux :-)

    Cheers
    Claudia

  • How to find what style is on the specific word.

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @SANGHYEOK-LEE

    looks like your defining your own udl - maybe you wanna post it
    so we can see where it is coming from. Maybe a bug (!?).

    Npp has no builtin tool to get the style of the current selected word.
    In order to get this information you need to use a plugin which offers
    access to the underlying scintilla control like python script or lua script etc…

    Cheers
    Claudia

  • macros are impossible

    2
    1 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @V-S-Rawat

    Old ,but still valid I guess. The notepad messages are the one which are the ids used in nativeLang.xml.

    Cheers
    Claudia

  • Improvement for Replace dialog

    Locked
    3
  • Is there a way to find words in one document that are not in the other?

    8
    0 Votes
    8 Posts
    4k Views
    guy038G

    Hi, @Lemmy-westin, and All,

    Thinking again about your problem, I succeeded to build a general method and the corresponding regexes !

    So, let’s suppose you have a text, separated in TWO parts, by a single line, build of some # characters.

    Then, you may like to search for :

    Case D1 : Lines, which lie, ONLY, in the FIRST part of the text ( BEFORE the ###### line )

    Case E1 : Lines, which lie, BOTH, in the TWO parts of the text ( BEFORE and AFTER the ###### line )

    Case D2 : Parts of line, which lie, ONLY, in the FIRST part of the text ( BEFORE the ###### line )

    Case E2 : Parts of line, which lie, BOTH, in the TWO parts of the text ( BEFORE and AFTER the ###### line )

    Case D3 : Single words, which lie, ONLY, in the FIRST part of the text ( BEFORE the ###### line )

    Case E3 : Single words, which lie, BOTH, in the TWO parts of the text ( BEFORE and AFTER the ###### line )

    Remark :

    If you want to search for ranges, in the SECOND part of text, exclusively, just swap the two parts of text and use, either, the case D1, D2 or D3 !

    To, correctly, define these three ranges of text, we’ll use a start boundary and an end boundary. They will be used, in the look-behind and look-ahead structures, and will NEVER be part of the regex to search for !

    For cases D1 and E1 :

    Start boundary = ^ ( Beginning of line ) OR \R ( End of Line characters of previous line )

    End boundary = \R ( End of line character(s) = \r\n in Windows files or \n in Unix files )

    Searched regex .+ ( All standard characters of any NO-blank line )

    For cases D2 and E2 :

    Start boundary = % ( An other dummy character, NOT already used in current text )

    End boundary = % ( The same character, as above )

    Searched regex = .+ ( Any NON-null range of standard characters, between the two % excluded limits )

    For cases D3 and E3 :

    Start boundary = \W ( A NON-word character, so, any character different from [0-9A-Za-z] and from all accentuated characters. This, also, includes the End of Line characters )

    End boundary = \W ( A NON-word character, as above )

    Searched regex = (\w+) ( A complete single word, of any length, between two excluded NON-word characters )

    Now, here are the regexes to achieve these different searches :

    Case D1 : (?i)^(.+)(?s)(?=\R.*#+(?!.*\R\1(\R|\z))) OR (?i)^(.+)(?s)(?=\R.*#+)(?!.*#+.*\R\1(\R|\z))

    Case E1 : (?i)^(.+)(?s)(?=\R.*#+(?=.*\R\1(\R|\z))) OR (?i)^(.+)(?s)(?=\R.*#+.*\R\1(\R|\z))

    You may test the D1 and E1 regexes with, for instance, the text, below, in a NEW tab :

    When we speak of free software, we are referring to freedom, not price. Our General When we speak of free software, we are referring to make sure that you have the freedom to distribute copies This is a simple test ######################################### This IS A simple TEST When we SPEAK of free freedom, not price. Our General make sure that you have the freedom, not price. Our General

    Case D2 : (?i)(?<=%)(.+)(?s)(?=%.*#+(?!.*%\1%)) OR (?i)(?<=%)(.+)(?s)(?=%.*#+)(?!%.*#+.*%\1%)

    Case E2 : (?i)(?<=%)(.+)(?s)(?=%.*#+(?=.*%\1%)) OR (?i)(?<=%)(.+)(?s)(?=%.*#+.*%\1%)

    You may test the D2 and E2 regexes with, for instance, the text, below, in a NEW tab :

    111 %When we speak of free% 111 222,%software, we are referring to%,222 333 % freedom, not price. Our General% 333 abc %When we speak of free% abc xyz,%software, we are referring to%,xyz %make sure that you have the% 555 %freedom to distribute copies% 555 666:%This is a simple test%:666 ##################################################################### 777|||%This is A simple TEST%|||777 888----%When we SPEAK of free%----888 999% freedom, not price. Our General%999 abc %make sure that you have the% abc 000000000% freedom, not price. Our General%0000000000000000 ------------- %make sure that you have the% ------------

    Case D3 : (?si)(?<=\W)(\w+)(?=\W.*#+(?!.*\W\1(\W|\z))) OR (?si)(?<=\W)(\w+)(?=\W.*#+)(?!.*#+.*\W\1(\W|\z))

    Case E3 : (?si)(?<=\W)(\w+)(?=\W.*#+(?=.*\W\1(\W|\z))) OR (?si)(?<=\W)(\w+)(?=\W.*#+.*\W\1(\W|\z))

    You may test the D3 and E3 regexes with, for instance, the text, below, in a NEW tab :

    software price freedom SOFtware prICE General Public This is a simple test to find out identical / different words inside that text ########################################################################################## This, is A test in order to know the same / different words of the text SoftwarE freeDOM genERal FREEDOM

    Notes :

    The last cases D3 and E3 are the ones, discussed in my previous topic

    All the regexes , above, are case insensitive. If searches must be sensitive, just change the (?i) syntaxes into (?-i) and the (?si) syntaxes into (?s-i)

    Remember that your text must contain just ONE line with , at least, one # character

    Regarding the D1, D2 and D3 equivalent regexes, their general template are :

    [Modifiers][Positive Look-Behind][Regex to Search][Positive Look-Ahead[Negative Look-Ahead]], with nested look-aheads

    [Modifiers][Positive Look-Behind][Regex to Search][Positive Look-Ahead][Negative Look-Ahead], with juxtaposed look-aheads

    Regarding the E1, E2 and E3 equivalent regexes, their general template are :

    [Modifiers][Positive Look-Behind][Regex to Search][Positive Look-Ahead[Positive Look-Ahead]], with nested look-aheads

    [Modifiers][Positive Look-Behind][Regex to Search][Positive Look-Ahead], with 1 look-ahead, only

    Just notice that a positive look-ahead, nested in an other positive look-ahead, may be merged in an unique look-ahead. But it’s impossible to merge a negative look-ahead, nested in a positive look-ahead !

    Of course, as usual, you may replace, delete, mark or bookmark the different matches, for further modifications !

    Cheers,

    guy038

  • Why we are made to use some other editor to edit npp macros?

    3
    0 Votes
    3 Posts
    2k Views
    PeterJonesP

    If that doesn’t work for you, you could copy shortcuts.xml to your desktop, edit that new copy, save, and exit Notepad++, then copy back from your desktop to the original directory (whether that’s your %AppData%\Notepad++\ or the same directory where notepad++.exe resides)

  • Remove spam from program's description

    3
    0 Votes
    3 Posts
    2k Views
    richluxR

    If it really bothers you, you can use a Windows resource editor such as Resource Hacker to edit the metadata of the Program. You’ll find the description in the Version Info section. Simply edit it, click Compile and then save it.

    Rich

  • w8, find/replace window is hidden below windows task bar

    1
    0 Votes
    1 Posts
    877 Views
    No one has replied
  • Reload text feature in Notepadd ++

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    MAPJe71M

    You can already use:

    the shortcut mapper to assign a key combination to the “Reload from disk” function; the Customize Toolbar plugin to add an icon to the toolbar.