Open thamermousa opened 6 years ago
Right to left is not finished in current Scintilla, https://sourceforge.net/p/scintilla/feature-requests/1214/
Currently Notepad2-mod use 3.7.x long-team version of Scintilla, I think you need to replace Scintilla with a new version after Right to left got finished.
Bidirectional is added in Scintilla since 4.1.0 for Direct2D (Vista and above) and macOS Cocoa, see release note on https://www.scintilla.org/. You could contact the developer of the translated program tell she or he to upgrade Scintilla in Notepad2 to 4.1.
Related changes should made in Notepad2's self code include:
It's just a few changes, hope this help you and others.
However there are some issues with Direct2D, which are worth to read: issue https://github.com/XhmikosR/notepad2-mod/issues/121, PR https://github.com/XhmikosR/notepad2-mod/pull/122, and issue https://github.com/rizonesoft/Notepad3/issues/191.
For who use GCC, please note a bug report at https://sourceforge.net/p/scintilla/bugs/2026/ about SIGSEGV when bidirectional is enabled.
Also please refer https://sourceforge.net/p/mingw-w64/bugs/753/ or https://github.com/zufuliu/notepad2/issues/16 on how to fix it.
This is a program translation notepad2 To Arabic تعريب برنامج المفكرة2
مفكرة Notepad2.zip
But there is no choice Read from right to left