• How to highlight single line without caret going to next line

    11
    0 Votes
    11 Posts
    10k Views
    guy038G
    Hi, Darkemis, Scott and Claudia, Thanks Claudia and Scott to make us remember about the difference between the two shortcuts Shift + Down arrow and Shift + End ! A very little thing that may, sometimes, speed up our N++ work :-) So, when cursor is at the very beginning of a line ( column 1 ) : Shift + Down arrow selects all the contents of this line, WITH its End of Line character(s) Shift + End selects all the contents of this line, WITHOUT its End of Line character(s) Cheers, guy038
  • Problem with PHP7 MySQL syntax highlight

    Locked php7 highlighting syntax mysql
    4
    0 Votes
    4 Posts
    4k Views
    Koppány AttilaK
    Hi Claudia, that’s just what I need! Thanks for your help, now it’s done and perfect! Have a nice day / evening! Attila
  • want change font-size 13 input font size not available

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Need to extract csv from text file

    8
    0 Votes
    8 Posts
    8k Views
    Claudia FrankC
    Hi Ray, when posting formatted code/text you need to indent by at least 4 spaces, then it will keep its layout. The regular expression is explained, for searching here and for replacing here What it does is the following: (high level - detailed infos on the mentioned website) ( ) = this is a caturing group \R = newline chars {6} = should be repeated exactly 6 times (.*?\R){6}) = basically means match 6 lines (.*,.*\R) = match lines which have or not chars followed by a comma and again have chars or not followed by newline (now I’m thinking .+,.+\R would be better because this means lines having atleast one char followed by comma and again at least one char followed by newline) (.*,.*\R)* = the added * means it could be any number of lines or no line at all " at the end basically means, last line needs to be the double quote In replace, as we only use what was matched in \3, anything else get deleted. As said, the links provide better and detailed explanation. Cheers Claudia
  • 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

    comments
    4
    0 Votes
    4 Posts
    4k 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
    4k 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
    10k 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
    5k 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
    4k 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