• Notepad++ 7.5.4 (64-bit) slow working with large files (solved)

    2
    2 Votes
    2 Posts
    2k Views
    Alan KilbornA

    @jack4455667788 said in Notepad++ 7.5.4 (64-bit) slow working with large files (solved):

    this may have been fixed in later releases

    How does one “fix” this? Autocomplete is a feature, if it is turned on it will attempt to do its work as best it can. In some scenarios, it isn’t going to be optimal.

  • Figure this would be an easy add...

    2
    1 Votes
    2 Posts
    434 Views
    PeterJonesP

    Interesting. There might be enough people who would want that function for it to be worth implementing – though I cannot remember ever thinking to myself that I missed that ability, so it might not become a high priority for the developers. But the idea is reasonable enough that it’s probably worth reading the FAQ that will direct you to the right location for feature requests and bug fixes.

  • Detect external changes tweak

    3
    0 Votes
    3 Posts
    405 Views
    Alan KilbornA

    Sounds like a scary scenario to me.

  • How to: Search & Replace in .html file , force newLine .

    3
    0 Votes
    3 Posts
    251 Views
    vmars vernonV

    Thank you very much !

  • Syntax color config export ?

    6
    0 Votes
    6 Posts
    1k Views
    Elodie CEMOIE

    @Ekopalypse Thank you very much : I have saved my “DeepBlack.xml” file .
    I asked this question because the last time I upgraded from 7.8.1 to 7.8.2, all my color configuration had been lost !

    So I prefer to be cautious for the future upgrades…

    Thank you very much !

  • SQL keywords not highlighted

    5
    0 Votes
    5 Posts
    1k Views
    conky77C

    I created the issue 7988

  • 1 Votes
    2 Posts
    174 Views
    PeterJonesP

    Isn’t the Arduino language just c/c++? I would recommend just using that language, and adding any new keywords to the “User-defined keyword” box in the INSTRUCTION WORD or TYPE WORD styles (Settings > Style Configurator > Language: C or C++)

    If you are curious about User Defined Language (UDL) syntax for numbers, see the docs.

    But I’m curious: in what situation would the ; be used a suffix indicating a hexadecimal number?

    (translated using translate.google.com)

    A linguagem do Arduino não é apenas c / c ++? Eu recomendaria apenas usar esse idioma e adicionar novas palavras-chave à caixa “Palavra-chave definida pelo usuário” nos estilos PALAVRA DE INSTRUÇÃO ou PALAVRA DE TIPO (Configurações> Configurador de estilos> Idioma: C ouC ++)

    Se você tiver curiosidade sobre a sintaxe da Linguagem Definida pelo Usuário (UDL) para números, consulte os documentos

    Mas estou curioso: em que situação o ; seria usado como um sufixo indicando um número hexadecimal?

    (traduzido usando translate.google.com)

  • Change a series of numbers when they start with 2

    4
    0 Votes
    4 Posts
    181 Views
  • PHP bug ****

    4
    0 Votes
    4 Posts
    322 Views
    PeterJonesP

    If you want help, you will have to provide enough information for us to replicate your problem. As of yet, we cannot replicate your problem, so it’s hard for us to say what’s going wrong for you. I provided a link that described what kind of information might be helpful.

    An anecdotal “latest versions”, for example, is useless, because we don’t know what you consider “latest” (it could be the latest one you downloaded a decade ago, or the latest one that autoupdate asked you to install, or the latest one that was released on the official website, or the latest one in whatever unofficial distribution channel you download from).

    If you want to prove that it’s not plugins, you will have to show the Debug Info (described in that link) of your version in the same instance that you’re about to crash in.

    I will show you an example of it working for me, with enough information that you should be able to replicate my results.

  • Regular Expression, end of line

    5
    0 Votes
    5 Posts
    16k Views
    guy038G

    Hi, @@luuk-v, @terry-r and All,

    @Terry-r said :

    Personally though my alternate regex works I would use @guy038 one as it is more readable and possibly also more defined!

    In the same way, I would say that @terry-r’s solution is clever too and is, finally, very easy to interpret ;-))

    Indeed, this new syntax :[^:]*?$ finds a colon char, followed with the shortest range of characters, possibly null, different from a colon, before an end of line !

    Cheers,

    guy038

  • Scrolling with Cursor Keys

    3
    0 Votes
    3 Posts
    447 Views
    Brigham NarinsB

    Thanks for the info folks. Turns out updating to the latest version DSpell solved the problem.

  • Spaces for Tabs?

    4
    0 Votes
    4 Posts
    371 Views
    obparhamO

    Thanks you two,

    It has been so long since I had to config a new install, I forgot where it was.

    I’m way over 65. That’s my excuse and I’m sticking to it!

    Bruce

  • Format different in regular notepad after installin notepad++ HELP!

    7
    0 Votes
    7 Posts
    1k Views
    Union ExpressU

    @PeterJones said in Format different in regular notepad after installin notepad++ HELP!:

    ttings in such a way that the source name is copying. I cannot explore different Excel settings for you, but can confirm that with the way mine is set up, copying from one workbook to another doesn’t make it link the data: the formula stays local to the workbook.
    These are Excel problems, not something specific to Notepad++, so from here on out, you should probably move to an Excel forum. You should probably ask one or two questions – which are separate ideas, though the second isn’t as important now that you know that Excel should be able to handle the copy/paste with formulas correctly.

    The first question would be worded something like “when I copy formulas from one workbook to another, for me it inserts the source workbook name into the destination formula, so it creates a link between the workbooks, but I am wanting to copy the formulas to the new workbook so that the formulas are relative to the new workbook. (And when I asked a similar question in a wrong forum, I was told that in circumstances of someone over there, Excel didn’t make the formulas a link, and did what I expected. Could you help me figure out how to make the pasted formulas reference the cells in the new workbook, rather than be formulas with links to the old workbook for the data?” You could include screenshots similar to above, but showing how the formulas don’t work right.

    If you really needed to know why the thru-text-editor didn’t work, you could also ask, “Second, why when I Formulas > Show Formulas, and copy/paste the formulas into a text editor like notepad.exe or Notepad++, and then copy/paste from the text editor into a new Excel workbook, why does a multi-line formula first get interpreted as text, until I F2-edit then hit enter, when Excel properly treats it as a formula again?”

    But again, this is all stuff for the Excel forum of your choice.

    I completly understand not going far into excel, this is a notepad++ forum after all. thanks for thaking the time to look into this! I will look further in the excel forums. ill be back if anything points back to N++ but youre probably right and its to do with excel. Thansk again Peter!

  • When Notepad++ arrives on iOS and Android ?

    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    It is unfortunate that you cannot find high-powered text editors on Apple Store. As a non-Apple user, I cannot suggest any good ones. But there’s not much we as the Notepad++ (user) Community can do about it.

    The reason official ports of Notepad++ don’t exist for iOS or Android is because the core of Notepad++ was written using the Win32 API, which is the MS Windows way of handling window management and intra-process and inter-process communication. This API is significantly different than the various GUI toolkits available for Android or iOS. By the time enough of the Notepad++ codebase was re-written to be able to work on those completely different platforms, they would cease to be Notepad++.

    (There is someone who released something they called “Notepad++” to Android, IIRC, but it is unaffiliated with the official Notepad++ discussed here, and has nothing to do with the codebase or this project or forum.)

    To sum up: I am sure there are plaintext editors available for iOS and Android, but Notepad++ is not one of them; some in the Notepad++ community may have text editors that they use or recommend for their portable devices, but that’s not actually the focus of this forum, so I don’t know how good of an alternative suggestion you will get. But, to be helpful, let me google that for you on iOS and Android.

  • regex to replace any value other than between 2 special charterers

    8
    0 Votes
    8 Posts
    367 Views
    Rajat KumarR

    @guy038

    Wow working absolutely perfect. Thanks for the help!

  • 4 Votes
    4 Posts
    3k Views
    Alan KilbornA

    @guy038

    I was a little loose with my “any time” verbage. Your context was the Mark operation, which was what I meant, but said poorly.

  • request new functions

    7
    0 Votes
    7 Posts
    320 Views
    pinuzzu99P

    ok. sorry i had not seen that your Yes was a link …!
    tanxs

  • XML - How to sort based on <id>, automatically calculated by formula

    7
    1 Votes
    7 Posts
    9k Views
    dinkumoilD

    @Tư-Mã-Tần-Quảng

    You could install the XML Tools plugin and use its XSLT Transformation feature.

    Open Plugins Admin and install XML Tools plugin. After Notepad++ has been restarted paste the XSLT code from below to an empty tab and save it for example as Transform.xsl. Open the XML file you want to process. Go to (menu) Plugins -> XML Tools -> XSLT Transformation. In the dialog popping up click on the ellipsis button and in the file selector dialog popping up select the XSL file you created in step 2. Click the Transform button. A new document will be opened with your changes applied. Save it to the original file.

    In the following the XSLT code to do your requested transformations. I guess you want to increase the value of the asalary, bsalary and msalary tags by a percentage value, thus I divided the factors you provided by 100.

    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration="no" /> <!-- Copy all nodes not affected by the rules below --> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> <!-- Sort based on id node --> <xsl:template match="include"> <xsl:copy> <xsl:apply-templates select="data"> <xsl:sort select="id"/> </xsl:apply-templates> </xsl:copy> </xsl:template> <!-- Recalculate bsalary node --> <xsl:template match="/include/data/bsalary"> <xsl:choose> <xsl:when test="../type[text()]='Intern' and ../month[text()]>=3"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 1.2567"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <xsl:when test="../type[text()]='Staff' and ../month[text()]>=3"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 1.4533"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <xsl:when test="../type[text()]='Employee' and ../month[text()]>=3"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 1.6969"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <!-- Copy all nodes not affected by the rules above --> <xsl:otherwise> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- Recalculate asalary node --> <xsl:template match="/include/data/asalary"> <xsl:choose> <xsl:when test="../type[text()]='Intern' and ../month[text()]>=6"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 1.8828"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <xsl:when test="../type[text()]='Staff' and ../month[text()]>=6"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 2.3549"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <xsl:when test="../type[text()]='Employee' and ../month[text()]>=6"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 2.6467"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <!-- Copy all nodes not affected by the rules above --> <xsl:otherwise> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- Recalculate msalary node --> <xsl:template match="/include/data/msalary"> <xsl:choose> <xsl:when test="../type[text()]='Intern' and ../month[text()]>=12"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 2.4545"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <xsl:when test="../type[text()]='Staff' and ../month[text()]>=12"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 3.0611"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <xsl:when test="../type[text()]='Employee' and ../month[text()]>=12"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:value-of select="substring(text(), 1, string-length(text()) - 1) * 3.8432"/> <xsl:text>$</xsl:text> </xsl:copy> </xsl:when> <!-- Copy all nodes not affected by the rules above --> <xsl:otherwise> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
  • I can't remove a json file.

    2
    0 Votes
    2 Posts
    163 Views
    guy038G

    Hello, @stergios,

    Probably, you’d better have a look here first !

    Best Regards

    guy038

  • File disappeared

    7
    0 Votes
    7 Posts
    857 Views
    Doug LattoD

    @PeterJones: Again, thanks very much for your quick and thorough response! Of course, without the exact sequence of events and messages, it’s impossible to reproduce the problem. Usually basic operations liking open, close, save don’t cause problems, so I was not in the kind of frame of mind in which I was carefully recording everything I did and everything the app did. Still it is weird that, when I shut down Notepad++ and started it up a second time, my changes were there, but when I shut it down and started it up a third time, they were gone. I looked in the backup location and the recycle bin, but no luck. Only ways that could happen that I can think of: either I removed the changes myself in Notepad++ (which I didn’t), or I accidentally deleted the file (which would have put it into the recycle bin). Have to just chalk it up to a glitch of some kind.