github zufuliu/notepad4 v26.05r6166

6 hours ago

Note

v25.07r5738 and later no longer supports Windows XP, Windows Server 2003 (see issue #974) and Windows 8/8.1 on ARM32 (Windows RT) (see issue #1023), use v25.06r5696 instead.

Changes Since v26.03r6058

  • Scintilla updated to 5.6.2 see https://www.scintilla.org/ScintillaHistory.html for the changes.
  • Support Erlang and Elixir, issue #376. 34e0fc9
  • Support PowerBuilder, issue #1095. 6a0830b
  • Support Typst, issue #640. 6f696f5
  • Add ability to calculate math expression (with menu "Tools -> Action on Selection -> Calculate Expression") and evaluate JavaScript expression (with menu "Tools -> Web Tools -> Evaluate JS Expression"), discussion #631, contributed by @Matteo-Nigro in PR #1230 and PR #1233, 2090fbf, e83ece0
  • Add menu "File -> Save with Original Time" to save current file with original timestamp, issue #1199. c901c55
  • Add menu "Edit -> Special -> Show Character Info" to show character information for first selected character or character after caret, issue #1220. dcb797e
  • Add UrlThreshold property (in [Settings2] section) to configure URL highlighting threshold (in MB, set the value to zero to disable URL highlighting), issue #1212. 502fd37
  • Lexer and API updates: CoffeeScript (f245638), CSS (2ad2de5), Fortran (ecc5648), Go (6064746), HTML (2ad2de5), JavaScript (b973180), LaTeX (5ede913), Ruby (a1d0de3), Texinfo (06bbe63).
  • Improve Russian translation, contributed by @Dimmitrius in PR #1215 and PR #1214. b862996, 9b998ab
  • Fix wrong INI file location for Chocolatey installation, issue #1200. 0a979f0
  • Other bug fixes and improvements.

Expression Evaluation

Expression (can be arbitrary JavaScript code) evaluation is provided by system's JavaScript engine (Chakra or JScript), Math. prefix can be omitted when using menu "Tools -> Action on Selection -> Calculate Expression", e.g. exp(PI*sqrt(163)) or pow(E, PI*sqrt(163)) for $e^{\pi\sqrt{163}}$. JavaScript code can be used to do complex computing, e.g. calculate Fibonacci sequence and factorial with following recursion functions:

function fib(n) {
    return (n <= 1) ? n : fib(n - 1) + fib(n - 2);
}
function factorial(n) {
    return (n <= 1) ? 1 : n*factorial(n - 1);
}

[fib(10), factorial(10)]

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_precedence and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math for document on operators, Math functions and constants (system's outdated JavaScript engine may not support all of them).

Behavior Changes

Behavior for Tab and Enter key in multiline edit boxes on "Enclose Selection", "Enclose HTML/XML Tag", "Insert HTML/XML Tag" and "Modify Lines" dialogs were changed (issue #1197, 7e90fe9), see following table:

Key Behavior
Tab Move to next dialog control (same on other dialogs)
Shift + Tab Enter tab character (\t)
Enter Apply changes (same as click OK button)
Shift + Enter Enter newline (\r\n)

File List

Localization Language Architecture Minimum System
de Deutsch ARM64 🟢Windows 10 on ARM
en English AVX512🧪 🟢64-bit Windows 10, Server 2019
fr French AVX2 🟢64-bit Windows 7, Server 2008 R2
it Italiano x64 🟡legacy 64-bit Windows Vista, Server 2008
ja 日本語 Win32 🟠legacy Windows Vista, Server 2008
ko 한국어
pl Polski HD HiDPI, High Definition
ru Русский
zh-Hans 中文 (简体) winget winget install zufuliu.notepad4.AVX2
zh-Hant 中文 (繁體) winget winget install zufuliu.notepad4
i18n all above languages winget winget install -e "Notepad4"
한국어 https://teus.me/Notepad4 Chocolatey choco install notepad4

Latest development builds (artifacts in Release configuration for each compiler and platform) are available at https://github.com/zufuliu/notepad4/actions and https://ci.appveyor.com/project/zufuliu/notepad4.

FindInFiles (see issue #259) is a simple GUI for ripgrep, latest builds are available at https://github.com/zufuliu/FindInFiles/actions.

File System Requirement
FindInFiles-net4.8 .NET Framework 4.8 prior Windows 10
FindInFiles-net10.0 .NET Desktop Runtime 10.0
FindInFiles-net8.0 .NET Desktop Runtime 8.0

Don't miss a new notepad4 release

NewReleases is sending notifications on new releases.