• 0 Votes
    3 Posts
    1k Views
    Chip CooperC

    What you’re describing is very common in OOP languages. If this behaved like they do, one would be looking for something more like a doEvents operation as sleep usually halts all operations in the background, unless the community started incorporating a doEvents equivalent into a sleep command (which IMO should have been done years ago, if not already done). In fact I wonder if this is a python background issue rather than a regex issue.

    I’m just starting into regex and have started thinking along similar lines to what you mention here; I’m interested in seeing what others can add to this question by way of responses. Perhaps you could insert timestamps in a test document?

  • Looking for definitive RegEx reference to learn SciLexer.dll RegEx

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Chip CooperC

    Thank you so much for the quick reply! I appreciate that, as I had really started to get into that Wiki page. So, I’ll just go ahead and work on using that information, and see where it leads me. But, snippets are welcome. They’re great samples; Scott, Guy and others do such a great job of explaining what they’ve written.

  • Notepad ++ v 7.5.4 not responding on win 7

    4
    0 Votes
    4 Posts
    3k Views
    Chip CooperC

    @saikat-sahoo Yes, a clean install… if you have custom configurations, just be sure to back up those files; or can we presume that goes without saying. ;-)
    If you try to save to the Programs/Notepad++ directory, I think they’re read-only… but I don’t think that would be the default… so… try the above sounds right.

  • 0 Votes
    5 Posts
    2k Views
    Lucas ElliottL

    okay… Oh well. Feels like a pretty obvious feature. Hope it will be in there some day! thanks for your help.

  • Change Syntax Highlighting ("Language") Characters

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Stefan TravisS

    Update: Charcters outside the range 21-7F can form part of delimiter strings, but the strings must contain 21-7F characters.

    So, if “$” here represents code 1B - the “Escape” character - these would valid strings:

    $Start
    Finish$
    Modif$ier

  • "Find in files..." font size too big

    6
    1 Votes
    6 Posts
    3k Views
    g8tr1522G

    Also, didn’t mean to come off as annoyed. It’s just that when I did find my own simple solution, I was surprised no one else gave even a brief recommendation related to it. I was afraid no one would reply at all…

    Also, photobucket was definitely not my first choice to post my pic. I’ll have to find a better site for future posts. I just quickly picked one and hoped that no one would mind.

    Thanks again though.

  • Cannot open program SciLexer.dll certificate problem

    5
    0 Votes
    5 Posts
    5k Views
    Chip CooperC

    This comment may be off-topic for Np++ here; but, you shouldn’t have had to do that! I suppose, though rare, that some cosmic particle corrupted wintrust.dll but; that’s suspicious behavior… to me! I’d certainly not just settle for fixing that unless you ‘know’ why it was replaced, or corrupt… especially if not missing.

    If it got corrupted then it’s possible some 3rd party app may have corrupted the registry, or ‘something else is going on’ ?!? If you do auto backups of your registry I’d try to do a restore if you have one from a date prior to the issue to see if that fixes the problem. Since it may also ‘fix’?!? (cough) other issues that were the cause. At your discretion of course, as going back a few days, depending on what apps and system changes you’ve done would ‘naturally’ be affected by a restore; however not doing a restore might cause future issues left unresolved, such as a corrupted registry as in registry keys?!?

    At least do a Windows Defender, or other anti-virus scan, and a sfc (systems file check). IOW although the issue affected Np++, as you pointed out, other parts fo the system were also affected (infected?). I would want to rule out the latter!
    (Sorry for the slightly off -topic guys.)

  • found twice in the same line to report one result?

    Locked
    2
    1 Votes
    2 Posts
    872 Views
    Scott SumnerS

    @patrickdrd

    No, if what you mean would be to have one line in the Find result panel with the yellow highlighting on all individual matches in that line. If you don’t care about the highlighting, and simply want the single line in the results, some regular expression crafting could provide that. But I sense you are desiring something simpler…

  • Separate highlights for each HTML tags

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    chcgC

    Seems similar to this one https://notepad-plus-plus.org/community/topic/15072/how-to-add-custom-style-for-batch-code-in-style-configurator.

    What you could do is creating a own UDL(https://ivan-radic.github.io/udl-documentation/) if you have this usecase often or use the style tokens available on right click.

  • 1 Votes
    3 Posts
    21k Views
    Antonia BanderasA

    Big thx working great!

  • Removing Unwanted Columns

    11
    0 Votes
    11 Posts
    11k Views
    PeterJonesP

    Inspired by the “excel” suggestion (or otherwise “favorite open-source spreadsheet”), but wanting to replicate that inside NPP itself: use the suggestions from another recent thread to get them into aligned colums in NPP, then use the column-mode editing to cut out whichever columns aren’t wanted (or to re-order columns, or similar). :-)

    But since the OP is probably long gone by now… I probably shouldn’t spend anymore brain-time on this one. :-)

  • Get "Notepad++ Stopped Working" error after 10-30 minutes

    6
    0 Votes
    6 Posts
    3k Views
    Scott SumnerS

    @racketteer

    There is some good info here on how to insert pictures (disclaimer, I wrote it), but the short of it is:

    Upload a pic to Imgur (my current favorite) Use Imgur controls to copy a “markdown” link to your pic Paste that into a posting here, but put a ! in front of it

    So what you’d see as you’re composing a post would look like this:
    ![Imgur](http://i.imgur.com/QTHZysa.png)

    …but in the preview-pane on the right you’d see your actual picture (if you’ve done it correctly)

  • Folding behavior of SQL code

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jjacobs13J

    @jjacobs13 A quick clarification: the desired folding occurs when either

    The CASE, WHEN, and THEN keywords are on the same line, or The WHEN is moved to a line (whether on the same as the THEN or on a different line) after the CASE line
  • Language command line switch not working

    3
    0 Votes
    3 Posts
    1k Views
    David McCloskeyD

    Thanks, that fixed it.

  • Issue when opening multiple files

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    Giulio MartiniG

    Ok I think I understood what I did wrong.
    After selecting the desired files, I did right click + edit with notepad++. However, when I right clicked I did not do it on the “first” file. By right clicking on a random file among the selected ones, notepad++ appears to open that file first and then proceeds by opening the following ones in a “circular” way. Actually, this appears to be a Windows thing. Thank you for your help and sorry for the waste of time.

  • Simple test file is losing its encoding :(

    5
    0 Votes
    5 Posts
    2k Views
  • Notepad++ Installation / Admin Rights

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Frank OrellanaF

    I guess it is. I use it in some machines without Admin rights and it works fine except:

    You can not update it You cannot install plugins in the default dir (you can check the option to load plugins from the %appdata% dir while installing if you need them) You cannot edit files that require Admin rights (duh!)

    Other than that, you can use it just fine.

  • Is SciLexer.dll part of Boost Library? and Why adopted?

    Locked
    2
    1 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Bin-Wang

    Yes No; Boost is used in Notepad++ for its regular expression engine, not any part of its GUI SciLexer.dll is the (modified) Scintilla project code that is the core of Notepad++'s editing abilities
  • i need help to figure out the meaning and how would use it

    Locked
    1
    -3 Votes
    1 Posts
    561 Views
    No one has replied
  • HELP! i can't go to settings

    2
    0 Votes
    2 Posts
    1k Views
    decodermanD

    Is NPP in full screen mode?
    Key F11 switches between the standard and full screen mode.

    If you see the Menu Bar, go to Settings > Preferences.
    On the center panel in “General” in the Toolbar section uncheck either “Hide” or select one of the icons selections.