• Help With Formula, Please...

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    guy038G

    Hello bill clinton,

    Depending on the restriction’s level, that you would like to, just use ONE of the three regexes, below and replace with a specific number, say 1000

    Find what : (?-is)Quantity +\K\d+

    Find what : (?-is)Stack.+Quantity +\K\d+

    Find what : (?-is)Stack.+Log.+Quantity +\K\d+

    and :

    Replace with : 1000

    Notes :

    Of course, the Regular expression search mode will be checked

    The (?-is) modifiers, at the beginning, force the regex engine to do the search :

    In an NON-insensitive case way, ( -i ) modifier

    NOT as a single line, ( -s ) modifier. This means that the DOT does NOT match any End of Line characters. On the contrary, (?s), the DOT would match ALL the characters. So, for instance, the regex search (?s).+ is really identical, to CTRL + A !

    Thus, because of these modifiers, you do NOT have to care about the state of Match case and . matches newline options !

    Best Regards,

    guy038

  • Python Script to add text with incremental numbers

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Can the status bar be customized?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Can I recover my notepad++ files/settings?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Dennis RD

    It turns out that “Refresh” saves stuff in C:\Windows.old folder

    So, I copied folder Notepad++
    from
    C:\Windows.old\Users\dennis\AppData\Roaming
    to
    C:\Users\dennis\AppData\Roaming

    Started up Notepad++, and all looks well so far.

  • Auto-update (UNIX tail) does not work

    Locked
    2
    1 Votes
    2 Posts
    3k Views
    dailD

    It only checks if the file is updated when the app regains focus.

  • Failed to save file not enough space on disk

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • "hide lines" command not working in a Macro

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    remduvR

    OK I found out by myself
    Some commands are not well supported by macros but it’s possible to add them manually via editing shortcut.xml file

    see n++ doc : http://docs.notepad-plus-plus.org/index.php/Editing_Configuration_Files#.3CMacros.3E

    following threads if needed
    http://stackoverflow.com/questions/362444/how-to-write-macro-for-notepad
    http://stackoverflow.com/questions/21194367/notepad-shortcut-for-new-open-containing-folder-in-menu-commands

    In my case I wanted code “44042” which is “Hide Lines” in the menu (used Resource Hacker to check the menu entry code).

    excerpt of my new shortcuts.xml file :
    <Macros>
    <Macro name=“test RDUV” Ctrl=“no” Alt=“yes” Shift=“yes” Key=“84”>
    <Action type=“2” message=“0” wParam=“44042” lParam=“0” sParam=“” />
    </Macro>

  • How do I change the defaults

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Peter WilliamsP

    Thanks Jim - that works great whilst reviewing the document on-line but doesn’t change the printed output remains the same - I guess Courier 10.

    Just like to have ‘flexibility’ to change font & size and save so that I could select a PREFERENCE. I have managed to change Portrait to Landscape in this mode.

    I would have anticipated this to so such an obvious requirement but just haven’t managed to find

  • Keyboard shortcut to unfold all levels under the current node?

    Locked
    2
    0 Votes
    2 Posts
    16k Views
    guy038G

    Hello, Anon Craigs

    Yes, indeed, there are shortcuts for the behaviour that you would like to :-))

    The DEFAULT main rules about Folding/Unfolding are :

    A) The classical menu options, in the View tab, or the SHORTCUTS actions :

    Fold All Levels ( ALT + 0 )

    Unfold All Levels ( ALT + SHIFT + 0 )

    Fold CURRENT Level, keeping the state of its sub-levels UNCHANGED ( Folded / Unfolded ) ( ALT + CTRL + F )

    Unfold CURRENT Level, keeping the state of its sub-levels UNCHANGED ( Folded / Unfolded ) ( ALT + CTRL + SHIFT + F )

    Collapse Level N, keeping the state of ALL the sub-levels UNCHANGED ( Folded / Unfolded ) ( ALT + Key N )

    Uncollapse Level N, keeping the state of ALL the sub-levels UNCHANGED ( Folded / Unfolded ) ( ALT + SHIFT + Key N )

    B) The MOUSE gestures :

    Single LEFT click, on a [-] symbol, fold the CURRENT level, keeping the state of ALL the sub-levels of the CURRENT level
    ( Folded / Unfolded )

    CTRL + single LEFT click, on a [-] symbol, fold the CURRENT level, as well as ALL the sub-levels of the CURRENT level, till the INNEST level

    Single LEFT click, on a [+] symbol, unfold the CURRENT level, keeping the state of ALL the sub-levels of the CURRENT level
    ( Folded / Unfolded )

    CTRL + single LEFT click, on a [+] symbol, unfold the CURRENT level, as well as ALL the sub-levels of the CURRENT level, till the INNEST level

    Note : For this last action, you may, also, use the mouse gesture : SHIFT + single LEFT click, on the [+] symbol

    Best Regards,

    guy038

  • Help with search function

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Hakan VenderlofH

    Thanx :-)

  • Need to change notepad icons into php files

    Locked
    2
    0 Votes
    2 Posts
    3k Views
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Function List parser for Visual Basic language

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    MAPJe71M

    Have a look in the SourceForge discussion forum e.g. here or here

  • 1 Votes
    9 Posts
    8k Views
    Nolan JorgerN

    Thank you all for your help.

  • Network Drives no longer work with 6.9.1 update

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    pfisherdukeP

    @gerdb42 I take that back. I just noticed that even when I didn’t have the “Force Administrator Mode” turned on it was still opening in Admin mode. I checked the box, applied the settings, and also enabled Comparability mode for Windows 8 just for the heck of it, and then unchecked admin mode and now the Network Drives are showing up again!

    Solution:
    If anyone else is having this problem I would suggest trying this first because it sure does beat going through the Registry line by line and deleting the entries. If you are having the problem, this is what did it for me:

    Enable the “Force Administrator mode”, apply the settings Uncheck the Force Administrator mode, apply the settings If those two steps don’t work then try also forcing Compatibility Mode for Windows 8, applying the settings, and re-launching NP++ in NON-administrator mode and see if you’re able to see your network drives again.

    I’m guessing this would only be a problem for people upgrading who may have had certain privileges set prior to the upgrade but I can’t remember whether or not that was the case for me.

    @gerdb42 Is there a way to set this topic as solved so people don’t waste their time reading through it? I appreciate your help in getting this fixed! Thanks a million

    Pete

  • Adding a textstring to different urls

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    dario33D

    Hi gerdb42, this works PERFECT - thank you sooo much for your effort!!

  • Notepad++ (C# "output" window). Why i cant view "warning" messages ?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    dailD

    Upload your image somewhere (e.g. imgur.com) and when creating your post do something like the following.

    ![screenshot](http://example.com/myimage.jpg)
  • Change Default Language

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    kawingaK
    Settings Preferences New Document Default language: C#
  • Notepad++ String Search

    16
    0 Votes
    16 Posts
    12k Views
    dario33D

    Hi guy038, this all works fine for me - thx so much again! For the several boundary issue, i have to think over, i have a wrong explanation for it! I think this question is soled!

  • adding extra column in database

    Locked
    14
    0 Votes
    14 Posts
    8k Views
    guy038G

    Hi, Camilo and All,

    Look, guys : I found a general, but difficult, regex but you, Camilo, you just pinpoint the right regex, which is quite adapted to your list. Bravo ! Moreover, against a big file, the regex engine will execute this regex faster than mime :-) I should have thought about it, some more time !

    Of course, this implies that the state is a one-word, composed of two capital letters

    So, instead of my complicated regex, it can be simply achieved with :

    Find what : (?-i)\s([A-Z]{2},) Replace with : ,\1

    Note : I just added the (?-i), at the beginning of the regex, in order to force the regex engine to search in a sensitive way, whatever the Match case option is set or unset

    About the single quotes problem, there are, usually, 3 kinds :

    The usual single quote ', ( Apostrophe ) of Unicode code \x27

    The ( Left single quotation mark ) of Unicode code \x{2018}

    The ( Right single quotation mark ) of Unicode code \x{2019}

    However, I’m a bit confused, as it seems rather easy to get rid of any of these 3 characters, with the simple S/R, below :

    Find what : '|\x{2018}|\x{2019} Replace with : Leave EMPTY

    Best Regards,

    guy038