Giter Site home page Giter Site logo

Comments (8)

mrt-prodz avatar mrt-prodz commented on August 10, 2024

I guess it should be possible if we check for a specific range of character codes using the Arabic Unicode Standard 9.0 reference. Using C++ as mentioned in Scintilla reference you could find characters between 0600 and 06FF and iterate through each selection and reverse it.

I actually don't use Windows anymore so it's unfortunately really difficult for me to test and implement this.

from npp-reverse-text.

abuali129 avatar abuali129 commented on August 10, 2024

Well, can I ask for the .dll plugin? I'm not familiar with the mingw or this kind of things

from npp-reverse-text.

abuali129 avatar abuali129 commented on August 10, 2024

nevermind, I did it, I got the .dll
Know how do I go with the regex to reverse the desired characters only?
And BTW the characters I'm using is different from what you mentioned, it is in this range U+FE70..U+FEFF

from npp-reverse-text.

mrt-prodz avatar mrt-prodz commented on August 10, 2024

Glad you found a way to get the DLL, you could also make selections manually with a regex search inside Notepad++. I didn't test it but you could check this StackOverflow reply and use the range of codes you are looking for. And then use the plugin to reverse selection.

from npp-reverse-text.

abuali129 avatar abuali129 commented on August 10, 2024

oops! just check your tool by now, it messed up the arabic wirting, too bad
thats is original
arabic

that is the reversed
reversed

from npp-reverse-text.

mrt-prodz avatar mrt-prodz commented on August 10, 2024

I wasn't thinking with my earlier reply, I reverse the string 1 byte at a time hence this broken result with Arabic. The plugin should check for document encoding before proceeding to reverse the content.

from npp-reverse-text.

mrt-prodz avatar mrt-prodz commented on August 10, 2024

It might be easier to do that using Python Scripts for Notepad++.

from npp-reverse-text.

abuali129 avatar abuali129 commented on August 10, 2024

Still i didn't get any script that do the same for unicode

from npp-reverse-text.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.