• FTPS (implicit) List directory issue

    2
    0 Votes
    2 Posts
    295 Views
    DarrenStD

    Solved it, There seems to be an issue with OpenSSL on the later version of nppFTP.

    Rolling back to an earlier version fixes the issue.

    Working version for anyone else with the same issue:
    https://github.com/ashkulz/NppFTP/releases/tag/v0.29.1

  • Search for a multiple variable number

    7
    0 Votes
    7 Posts
    2k Views
    Paul CarfauP

    Your my god, thanks a lot man !

  • Rearrange data in columns.

    2
    0 Votes
    2 Posts
    279 Views
    guy038G

    Hello, @jorge-luis-alvarez,

    Before looking further on, about regexes, some basic questions. Approximatively,

    How many lines DATA#="..." ...... DATA#="..." contain your file ?

    Is DATA5 the maximum data or you may have up to DATA9 or even the form DATA## with 2 digits ?

    May the values be possibly empty like, for instance, DATA3="" ?

    Should, in the output file, data be sorted, according to the values of DATA1 ?

    Best Regards,

    guy038

  • Notepadd++ saves without file extensions unless manually entered

    2
    0 Votes
    2 Posts
    348 Views
    Alan KilbornA

    Set the highlighted Preference the way it is shown:

    89a9f5f4-a3ab-4e70-822a-bfda733d3e1f-image.png

  • Macro code to Copy/Paste from one open file to another?

    17
    1 Votes
    17 Posts
    2k Views
    guy038G

    Hi, @tsquared, @ekopalypse, @alan-kilborn, @terry-r and All,

    Ah, OK : You’ve got some trouble because of the huge file size :-((

    So, instead of trying to bookmark some lines and select bunches of lines, here is a method which just get rid of any single unwanted line !. May be, it’ll be quicker !

    First, some assumptions :

    No pure blank lines or lines with blank characters only occur in your file ( Important )

    The blocks to keep start with the line START BREAK THROUGH @ WT, with that exact case, possibly preceded with some blank characters

    The blocks to keep end with the line END BREAK THROUGH @ WT, with that exact case, possibly preceded with some blank characters

    You’ll have to find out a dummy character, used as a temporary symbol, for correct execution of the different regexes. To that purpose, open the Find dialog and type in any single symbol, in the Find what: zone. If a click, on the Count button, produces the message Count : 0 match, this symbol can be used :-) As for me, I chose the # symbol

    Let’s begin :

    First, run the Edit > Line Operations > Remove Empty Lines ( Containing Blank characters ) option

    Add a pure blank line on the very beginning of your file

    Place the caret ( cursor ) on that empty line, beginning your file ( Important )

    Perform this first regex S/R, which adds a # char at the end of the Start header line and at the end of all lines to be kept :

    SEARCH (?-is)(?:^(\h*START BREAK THROUGH @ WT)(\R)|\G)((?:(?!END BREAK THROUGH @ WT).)+)(\R)

    REPLACE (?1\1#\2)\3#\4

    Then, perform this second regex S/R, which simply add a # symbol at the end of the End header line

    SEARCH (?-i)^\h*END BREAK THROUGH @ WT

    REPLACE $0#

    Finally, run this third regex S/R, which should delete any line which does not end with the # symbol, as well as the # symbol, itself, on lines to be kept

    SEARCH (?-s)^.+[^#\r\n]\R|#

    REPLACE Leave EMPTY

    Hope this helps you to modify your file more easily !

    Best Regards,

    guy038

    P.S. :

    I now realize that, after execution of the third regex S/R, any line START BREAK THROUGH @ WT is preceded with a line END BREAK THROUGH @ WT, so may be this End header line is useless for correct identification of the different sections

    In that case, just don’t run the second regex S/R and all the End header lines will be deleted as well ;-))

  • Mathematica UDL

    6
    0 Votes
    6 Posts
    810 Views
    guy038G

    Hi, @fraw-farewell, @peterjones,

    Actually, I did a simple test :

    First, I slightly changed the fgColor of these 3 sections below :

    <WordsStyle name="KEYWORDS1" fgColor="0000ff" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/> <WordsStyle name="KEYWORDS2" fgColor="00ff00" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/> <WordsStyle name="KEYWORDS3" fgColor="ff0000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/>

    Then I re-started N++

    I opened a new file

    I selected the Mathematica UDL language

    I pasted the last keyword of the Keywords1, Keywords2 and Keywords3 sections. So, the text :

    GeneratedParameters PointSize $VersionNumber

    And, as expected, these 3 commands, were highlighted in blue, green and red colors ;-))

    Cheers,

    guy038

  • Continuation in UDL delimiters

    4
    0 Votes
    4 Posts
    491 Views
    YellowAfterlifeY

    @Ekopalypse said in Continuation in UDL delimiters:

    @YellowAfterlife

    one other step you can do to overcome the UDL limitation is to
    use an scripting language plugin like pythonscript and a script
    like discussed here.

    That’s pretty cool! I didn’t realize that plugins were allowed to touch Scintilla. Maybe I’d be able to write a native plugin directly if documentation proves sufficient and I find time to do so.

  • mnemonic keys are not working

    2
    0 Votes
    2 Posts
    232 Views
    Alan KilbornA

    @pouyapalmerbet

    I’m eagerly anticipating learning what mnemonic keys are – please explain and maybe your question can be answered.

  • How to find text, then delete the next line?

    9
    0 Votes
    9 Posts
    2k Views
    Scott DuBoseS

    Thanks, in a document with 124,000 lines, this deleted 20,000 lines in about 10 seconds. Notepad++ is so awesome. Shoutout to Don Ho

  • 0 Votes
    5 Posts
    352 Views
    EkopalypseE

    @IBIT_ZEE

    If I understand correctly you are looking for something like this !?

    Basically, you want to enhance an existing UDL or builtin lexer, correct?

  • Roadmap to start contributing with development

    2
    0 Votes
    2 Posts
    263 Views
    cmeriauxC

    There isn’t any clear roadmap.
    I read in some posts that plugin manager dynamic updates is priority

  • Problem with indentation and PHP

    2
    0 Votes
    2 Posts
    241 Views
    dinkumoilD

    @Момчил-Божинов

    Hmm, we don’t know how your code looks in your Notepad, how it looks on GitHub, how it looks in your Notepad++ nor do we know how you expect it to look. And finally we don’t know which version of Notepad++ you use. How can we help without knowing anything?

    Please provide your Notepad++ version info ((menu) ? -> Debug Info), some screenshots how your code looks in Notepad, GitHub and Notepad++ (you can paste images from your clipboard into your forum comments) and tell us what you expect how it should look.

  • Can't run the browser for all file types from the View menu

    13
    1 Votes
    13 Posts
    2k Views
    PeterJonesP

    @László-Botka said in Can't run the browser for all file types from the View menu:

    Maybe will work in a next version?

    He incorporated the change and closed the ticket yesterday (Nov 1). That means it cannot be in the version that was released on Oct 27. Since the change has been incorporated into the main codebase, the fix will be available in the next version, whenever that is released.

  • Language editor -> Colorize full line

    1
    0 Votes
    1 Posts
    165 Views
    No one has replied
  • Is it possible to switch column lines?

    12
    0 Votes
    12 Posts
    2k Views
    dinkumoilD

    @dkeenan7 said in Is it possible to switch column lines?:

    I have added Reverse Selections/Characters Ctrl+Alt+Shift+T to @dinkumoil’s and my Transpose script.

    I have to intervene, this script is far from being even partially my script! The honor is due to @dkeenan7. Thank you again!

  • I can't close without save anymore ?

    4
    0 Votes
    4 Posts
    2k Views
    menton franceM

    Thank you it was there ! YOUPI !

  • Dark theme template (no plugins)

    3
    0 Votes
    3 Posts
    408 Views
    PeterJonesP

    By default, Notepad++ comes with about 20 themes, many of which are “dark”. None of those themes affect the UI (window borders, menu bars, buttons, etc); they only affect the editor coloring.

    If by theme you mean what Notepad++ means by theme, then you have plenty to choose from already, and you can modify any one of them using the Preferences > Style Configurator dialog to change the colors from the normals for that theme. If you want to affect the UI as well, that requires plugins.

    Links to the official Docs:

    Themes (overview) Style Configurator Info on stylers.xml and themes\[styleName].xml
  • Cannot update NPP, not a valid GUP

    3
    1 Votes
    3 Posts
    5k Views
    Murray Sobol 0M

    I am receiving the same error: “It’s not a valid GUP xml”
    Let us know when the server error is resolved.
    Mixed feelings re: involving politics with software.

    Murray

  • Python Indent plugin not working correctly?

    23
    1 Votes
    23 Posts
    7k Views
    Derek BrownD

    Hey, this is old but I just now stumbled upon it. I am the author of this plugin.

    As some of the posters above have figured out, the plugin does not attempt to follow PEP8. This is not because I have anything against PEP8, but simply I didn’t want to deal with that amount of parsing. I originally wrote this plugin to deal with the simple annoyance of having to tab every time I opened a new block. It applies a very simple heuristic of checking the start of the line for one of the keywords that open a new block in Python.

    It can actually be tricked into doing the wrong thing in a number of other situations (fairly unlikely situations though), such as having a multi-line statement to open a block, or using one of those keywords at the start of a line in a multi-line string. These situations are sufficiently rare that I have never attempted to fix them. In the much more common case of line continuations (which OP is talking about), I simply manually align them with space.

    If you want to get in touch with me about the plugin the best way is to open an issue on the Bitbucket page. I do not check these forums very often. I am also open to any code contributions if someone would like to tackle this.

  • Customize colors with simple signs

    2
    0 Votes
    2 Posts
    242 Views
    PeterJonesP

    Your examples don’t use “start sentences” like you said; they use surrounding. That’s actually easier:

    62e16224-b864-4376-9e86-76923857608c-image.png

    User defined languages (UDL) are given an overview in the official docs here. And Ivan Radić has a in-depth description of the details of UDL in this semi-official UDL documentation.