• regex s/r for defined pattern while keeping some of the existing text

    6
    0 Votes
    6 Posts
    4k Views
    Claudia FrankC

    Hello Peter,

    I’m not sure if the site you mentioned reflects the current state.
    I would advise to read this for searching
    and that for replacing.

    Cheers
    Claudia

  • Go back to previous version of file.

    5
    0 Votes
    5 Posts
    7k Views
    Pedro CarvalhoP

    Hello @Claudia-Frank,

    I won’t be able to take it to a recovery company just because of a phone number.
    Without any program reference, as you don’t know one i’l just live with it and setup windows backup to have previous versions so i have a workaround might this happen again.

  • discusive analysis editing

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Why does NP++ reformat my php code?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    Notepad++ does not mess with any code like that. Either you:

    Have a plugin that is somehow modifying the code Are accidentally hitting a shortcut key (e.g. Ctrl+J to join all the lines) Or something outside of Notepad++ is modifying it (for example mixing up line endings)
  • Bug on php script with comments

    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    Of course I know it’s a editor.
    I save to server and run in a browser, just like most people do that write scripts.

    Well don’t know how I should understand this …
    Could it be that you use different os systems in regards to where npp runs and on which
    os your webserver is? If so, did you check file integrity?

    Cheers
    Claudia

    Btw. as much information we get as more useful the answers would be - well, that’s waht I assume.

  • Setting up Notepad++ to run PHP under WAMP

    Locked
    2
    0 Votes
    2 Posts
    11k Views
    Claudia FrankC

    Hello @Fergus-Flanagan,

    you can use the run menu or a plugin named nppExec (which I prefer as it has better options) and call
    the browser of your choice like so

    INSTALLATION_PATH\YOUR_BROWSER.exe http://localhost…/$(FILE_NAME)

    where $(FILE_NAME) is the current file open. You need to provide this variable, don’t replace it.
    … of course is the path you configured.

    Cheers
    Claudia

  • NPP_INSTALLED_DIR - What is it?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @Stevorno,

    where does this NPP_INSTALLED_DIR come from? Where does it appear?
    Can you give it a try to use one of the zipped npps from
    https://notepad-plus-plus.org/download/v6.9.html ?

    Just unpack it to a place where you have write access, nothing to configure.
    Start npp and plugin manager.

    Cheers
    Claudia

  • Notepad++ Crashes on Replace All Commas in a ASCII File

    4
    0 Votes
    4 Posts
    3k Views
    guy038G

    Hello Jimcamps,

    In addition to the useful advices of Dail, if you currently use a local version of Notepad+, from the download links, below :

    https://notepad-plus-plus.org/repository/6.x/6.9/npp.6.9.bin.zip

    https://notepad-plus-plus.org/repository/6.x/6.9/npp.6.9.bin.7z

    you can, without any trouble, install two versions of N++ :

    One, with your loved plugins and all your stuff

    One, without any additional software for N++ and, even better, the minimalist N++ version, from the download link, below :

    https://notepad-plus-plus.org/repository/6.x/6.9/npp.6.9.bin.minimalist.7z

    With that version, and the periodic backups option disabled, no doubt that managing huge files and doing numerous searches/replacements should be easier to achieve !

    Best Regards,

    guy038

  • How to make a comments area and minimize it?

    14
    0 Votes
    14 Posts
    9k Views
    Claudia FrankC

    Yes, that’s what I meant and as said, I’m no expert.
    Why do you think it makes code execution slower?
    And if it does, is it really notably slower?
    You could also use something like { //region comment start } // region comment end
    and when it goes to production delete those lines.

    One other option, which just right now comes into to my mind,
    might be to use hide lines (ALT+H) (view menu).
    I don’t like it because you need to take care that you don’t do nested hidings - maybe you like it?

    Cheers
    Claudia

  • Photoshop drag/drop multiple files not working

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    Ahh, ok - was under the impression that dragging multiple files didn’t work but if files are working and directories not than
    I guess we do have the folder as workspace issue. Since introduction of this new feature it isn’t possible
    to use “dragging a folder to open files” anymore - I don’t know if this will get reverted/solved by the next release
    but I would vote for it as well.

    I do understand combination of folder and files don’t work as well.

    Cheers
    Claudia

  • Notepad++ freezes upon opening a javascript file

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Claudia FrankC

    @netbusiness
    fyi

    Cheers
    Claudia

  • Random Style Token

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • FunctionList with prefixed functions

    5
    0 Votes
    5 Posts
    3k Views
    Claudia FrankC

    Hello @Jeroen6,

    this should do the trick, I hope I didn’t break any other functions.
    It’s basically Peter Brands proposal with a little modification (using * instead of +, as it is optional)
    and introduced a new nameExpr to catch the interrupt functions.

    <parser id="c_function" displayName="C source" commentExpr="((/\*.*?\*)/|(//.*?$))"> <function mainExpr="^[\t ]*((static|const|virtual|_interrupt(\(.*?\))*)[\s]+)?[\w:]+([\s]+[\w]+)?([\s]+|(\*|\*\*)[\s]+|[\s]+(\*|\*\*)|[\s]+(\*|\*\*)[\s]+)([\w_]+[\s]*::)?(?!(if|while|for))[\w_]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{" displayMode="$functionName"> <functionName> <nameExpr expr="(?!_interrupt(\(.*?\))*) [\w_~]+[\s]*\("/> <nameExpr expr="(?!(if|while|for))[\w_~]+[\s]*\("/> <nameExpr expr="(?!(if|while|for))[\w_~]+"/> </functionName> </function> </parser>

    Cheers
    Claudia

  • Syntax Highlighting for EBNF

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    bluePlayerB

    Ok tried to add some symbols as keywords and now its better. But still I need to work with EBNF to see if all is covered. Will post back here if i have a problem. Some research on EBNF

  • Separate auto-complete for css and js files

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Ehpik  FeylE

    Very pity. From my point of view this is the only feature where npp concedes to sublime. I hope community will fix this flaw, someday.

  • How to change size of filename tabs, other than "reduce" option?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Find-Replace where Replacing with a Variable Help

    12
    0 Votes
    12 Posts
    8k Views
    Claudia FrankC

    That’s what it is all about - get it working.
    One thing which makes me wonder is that record_n doesn’t get reset,
    so after 3rd run

    if record_n > ignore_records :

    is always true.

    Btw. if you post code, intend the whole code by 4 spaces then it keeps the layout ;-)

    Cheers
    Claudia

  • Remove field of information in delimited text

    Locked
    9
    0 Votes
    9 Posts
    5k Views
    Claudia FrankC

    :-) thought that I didn’t understand the question, again - but then greenzest
    solution should work.

    Cheers
    Claudia

  • Text wrap plugin

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    Jean-Pierre MoulardeJ

    Thanks
    Now the point is to get rid of these basic unnecessary tags and replace them by what I need, i.e. a collection of about 20 snippets, most of them being more than 10 lines long.
    In fact it’s the same issue as SnippetPlus: they do the “wrapping” job, but it doesn’t seem easy to create new snippets.

  • How to NOT reopen previously opened files at startup

    Locked
    4
    0 Votes
    4 Posts
    17k Views
    Per JensenP

    @dail and @Ant-hrax
    Thankyou very much for your answers! They were both very usefull.