Categories

  • Announcements regarding our community

    341 Topics
    5k Posts
    PeterJonesP
    Please note that the request to move / reorder the new checkbox control is being tracked as #18639. For those who the placement/order bothers, if you haven’t already, you could go add your upvote to that issue.
  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    38 Topics
    64 Posts
    PeterJonesP
    Corrupted Session Starting in Notepad++ v8.6.5, it will store session.xml.inCaseOfCorruption.bak next to session.xml, and will automatically use that if session.xml is corrupted. However, if you ever find that you open Notepad++ (especially after an update or a system crash) and find that the files opened weren’t in the same state as when you let them, you can try this procedure: Exit Notepad++ Windows Explorer, go to %AppData%\Notepad++ (or in your appropriate config-file location if you aren’t using AppData for config) Rename session.xml to session.xml--keep Copy session.xml.inCaseOfCorruption.bak to session.xml Run Notepad++ → If it’s now showing the right copy of your files, great! If not, exit Notepad++, delete session.xml, and rename session.xml--keep back to session.xml .
  • Notepad++ discussions that don’t fit in other Categories

    5k Topics
    23k Posts
    D
    You are right about Windows INI files, and this is not something you did wrong in langs.xml. For INI files, Notepad++ uses the built in INI lexer, and that lexer treats both ; and # at the start of a line as a comment. That behavior is in the lexer itself, not in langs.xml, which is why you did not find # listed as a comment marker there. Windows itself only treats ; as a comment in INI files, so the coloring is misleading for your files, but it is expected Notepad++ behavior, not a mistake in your setup. For your own language definition, check two things separately. First, open Language, Define your language, select your language, then look at the Comment and Delimiter tab and make sure # is not listed as a comment line opener. Second, check that the file is actually using your language, not INI: the Language menu should show your language name when that file is active, and the file extension should be assigned to your language only. Listing # as an operator should not turn a line into a comment on its own, so if # lines are still colored as comments in your custom files, the INI lexer is the likely cause, because the file is being treated as INI. Lycan Thrope’s EnhanceAnyLexer suggestion is a good workaround for the INI case, because it lets you override the comment color for # lines so they look like normal text. For your custom language, removing # from any comment definition in the UDL, then saving and reopening the file, is the cleaner fix. If you test with a small file that only has one # line and one ; line, you can tell at once which lexer is coloring it.
  • 10k Topics
    55k Posts
    R
    @PeterJones No block boxes, and all files have read/execute allowed. What I have found is if i install an older version and then work up through the versions to V8.9.9.1 the admin option is there. So all good now but i am none the wiser as to what the iussue was. registry?
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    Vitalii DovganV
    SmartMath is more than just a calculator. SmartMath natively supports one-dimensional lists/arrays (inspired by SpeQ Mathematics), aggregation functions (inspired by Python: sum, sort, filter and so on), time values (inspired by NumLock Calculator) and complex numbers. Since lists/arrays are natively supported, SmartMath does not need Python’s map function. Instead, it directly calculates such expressions as 100 + (5, 15, 30), sin((pi/4, pi/3, pi/2)) and so on. There is a joke about the C programming language that its creators stopped developing it once C could compile code that no human could understand. Well, here are a few expressions that work in SmartMath: 1e1i++i v = (5-+-1, 1+-+5) v[0]i(33) v[0]%**v[1] upd(a,n,x) = (a[0:n], x, a[n+1:]) g=(): 9.8; g=g() Finally, here are a few examples that looked interesting enough to be included into the “SmartMath,md”: check_index(a,n) = filter(n, t: t>=0 && t<len(a))[0] upd(a,n,x) = check_index(a,n)*0 + (a[0:n], x, a[n+1:]) Do you still think that SmartMath is just a calculator? ;) The latest binaries are available here: 32-bit (x86): https://drive.google.com/file/d/1QNtDeN09VdfpZsfD6dDQ5j8xvcPd-1pO/view?usp=drive_link 64-bit (x64) https://drive.google.com/file/d/1a0In5EZuESV4L4jH_b21fHAfoyAfUiDR/view?usp=drive_link And the online version: https://d0vgan.github.io/AkelPad-Smart-Math/ Have fun!
  • Security shouldn’t be the privilege of rich people

    76 Topics
    377 Posts
    PeterJonesP
    same user also posted similar in this issue in comment in #17480
  • All the issues (publications/questions) about binary translation

    76 Topics
    480 Posts
    U
    @xomx Thank you very much for the work you have done, which will lead to improvements in Notepad++ in the future. I am very grateful to you.
  • Say fuck to Notepad++ here, and only here

    99 Topics
    571 Posts
    A
    @PeterJones Ahem. UKRAINE SHALL BE BURNED TO THE GROUND AND A NEW UKRAINE, ONE MORE OPEN TO RUSSIAN INFLUENCE, SHALL RISE IN ITS PLACE!
  • No support request and bug report here, only unconditional praise and worship

    3 Topics
    9 Posts
    F
    @Maddox-Armstrong said: @FreeMeow I goon to Notepad++ :P 666还有蜥蜴人
  • Share personal tips and cool uses for Notepad++, and similar

    63 Topics
    244 Posts
    S
    That’s a clever little experiment! I never really thought about using regular expressions to represent mathematical patterns like multiples of 3, but it makes sense when you look at the binary sequence. Definitely a fun way to explore just how powerful regex can be beyond ordinary text searching.
  • Computer/Programming Jokes are welcome here

    59 Topics
    190 Posts
    Lycan ThropeL
    @xomx , Dave Bowman: "Open the pod bay doors, HAL. " HAL: “I’m sorry, Dave. I’m afraid I can’t do that.” [image: 488a3017b34fe587.png]