• Using a user-defined language as default?

    12
    0 Votes
    12 Posts
    12k Views
    Claudia FrankC

    @Jim-Dailey
    sorry for late answer - well it depends, first version of the script
    looks for new files as user was asking for any new file feature.
    The modified version for Rich Goldman uses fnmatch as he was asking
    for a way to look pattern specific.

    @Rich-Goldman
    beside the solution Scott mentioned you might think of
    checking only the current file if it matches your pattern and run
    the MenuCommand to enable your UDL. All other files get set
    once switched to them - as you already stated.

    So something like

    if fnmatch(notepad.getCurrentFilename(), 'YOUR_PATTERN'): ... do your stuff ...

    before or after your callback definition.

    Cheers
    Claudia

  • Synchronize line highlight?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Redwood-Ryan

    Do you know Compare plugin?
    I assume that it could be very helpful for you.

    Cheers
    Claudia

  • MS Linedraw Characters in Notepad ++

    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hello flywire,

    I suppose that your current font is, for instance, MsLineDraw.ttf or some equivalent font !

    Then, to correctly see the characters, with code between 128 and 255, just use the N++ menu option Encoding > Character Sets > Western European > OEM-US

    And if you select the menu option Edit > Character Panel, you should see the glyphs of all the possible characters, in the US encoding, which should be identical to the ones generated by the MsLineDraw.ttf font :-)

    Best Regards,

    guy038

  • python script: additional chars and smarthighlight

    9
    0 Votes
    9 Posts
    4k Views
    Gytis MikuciunasG

    Scott, you’re right.
    I have updated my noteped++ to the newest version and now it works as expected.

    thx a lot!!!

  • REGEX - select the numbers situated in brackets (with the bracket)

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Vasile CarausV

    I find the solution:

    \((\d+)\) Select numbers located in round brackets

    \[(\d+)\] Select numbers are in square brackets

  • Copy text from notepad++ to putty terminal loses formatting.

    Locked
    2
    0 Votes
    2 Posts
    10k Views
    PeterJonesP

    I doubt it’s the programming language (per se) that makes a difference. It’s probably the settings of your particular terminal, whether you are using tabs or spaces for indenting in NPP, and what the receiving application (not PuTTY; whatever program you’re running in the PuTTY terminal) is expecting and set up for. If I run vim on linux thru a PuTTY 0.67 SSH terminal, and paste from Notepad++ into vim with auto-indent turned off, I get exactly what I pasted (if auto-indent is turned on, vim adds extra indenting: this is an example of how settings on the receiving application can affect things).

    debugging questions In Notepad++, what are Settings > Preferences > Languages > Tab Settings > [Default] > Replace by space set to? unchecked (☐) or checked (☑)? What about for Tab Settings > Python? in your existing NPP window, you can turn on View > Show Symbol > Show Whitespace and TAB, and look for a light-colored dot (SPACE) or a light-colored arrow (TAB) at the beginning of the indent lines, to see what the indent is for that specific file. What program are you running in the PuTTY terminal, that you’re trying to paste into? Try an experiment: run plane-jane Windows notepad.exe type in two copies of the example text (below) once indenting using the tab character once indenting using four or eight spaces copy/paste each (one at a time) into the destination program in PuTTY Do they both come out the same (whether both wrong or both right), or is one formatted correctly and the other not if they both are wrong, then it’s likely an issue with either your PuTTY settings or with what the receiving program expects if the tab-indented version comes out wrong, but the space-indented version is right, you’ll want to set NPP to convert TABs to SPACES if the space-indented is wrong but the tab-indented is right (that would surprise me), you want NPP to not convert TABs to spaces if both are right from notepad.exe, but it still pastes wrong from Notepad++, then there’s something magical going on with your copy/paste buffer, and you might want to try loading Notepad++ without any plugins (run notepad++.exe -noPlugin) and copy/paste from NPP again, to see whether some plugin is interfering with the Windows clipboard. example text def getWindDirection(): global lastwinddir ... return while True: print ... other suggestions

    Instead of copy/paste from Windows::Notepad++ to PuTTY::OS::Application, would you be able to use Notepad++'s NppFTP plugin to edit remotely from Windows::Notepad++ to the filesystem on whatever server you’re accessing thru PuTTY? (Or, if you’re used to a standalone FTP/SFTP/… like FileZilla, how about editing on Windows, but then copying to the server using your external FTP program)

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Upgraded to ver. 7.2, NppColorPicker plugin is gone.

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Pete NorrisP

    Frank;

    Thanks for the info.

  • Issue uploading files with NppFTP plugin

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Tab Settings is not showing up?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    MAPJe71M

    Settings -> Preferences -> Language.

  • 0 Votes
    4 Posts
    3k Views
    dirtbikekid134 _D

    @MAPJe71
    i can use notepad++ to get it to a png it is a screamed file and i need to use notepad++ and would like to get help from some one that my know how to do what im trying to do

  • dose any body no how to un scram this ???

    Locked
    1
    -1 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Can some one help me with notepad++ would greatly appreciate it

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Where's the plug-in manager on Np++ 7.1 x64 version?

    Locked
    4
    0 Votes
    4 Posts
    6k Views
    MAPJe71M

    @Juan-Carlos-Peguero-Manzueta

    The OP is talking about two problems with its Notepad++ 64-bit version installation:

    No plugin manager available; File associations not working properly.

    Which one is solved by your solution mark the checkbox “ALLOW PLUGINS TO BE LOADED FROM…”?

  • I CAN NOT INSTALL ANY PLUGIN IN VERSION 7.1

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Juan Carlos Peguero ManzuetaJ

    Thanks master. Your answer is useful
    I made the installation again from the begin and I found the solution to my specific issue. The thing is that at first step I had to mark the checkbox “ALLOW PLUGINS TO BE LOADED FROM…”

  • Resize Font

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Abu AbuA

    My current notepad++ looks like this.

    Sample

  • Fortran styling 6.9->7.1

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Francois de PicciottoF

    Similar problem here, except I am indeed using the Default theme, so I’m not sure what is happening here.

    After some more investigation, the problem was in the stylers.xml file, which didn’t get updated. So the problem also happens if at nay point you changed anything that led to the creation of a stylers.xml file.

    I have cleared it, the two different Fortran versions now do appear in the Style Configurator menu, and everything works as expected.

    Solved

  • PostIt Mode stays always on top.

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Notepad++ crashes games?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    ?

    Thanks for the heads up on that. I had not found that during my searches this morning.