PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Yes, having looked at the source; it has been assembled for Ansi operations. I'm unsure at this stage how much work would be involved in creating a Unicode version?
**EDIT : I'll answer my own question; a huge amount of work to assemble a unicode version! The string literals and API calls are one thing, -these can all be altered easily enough. It is the internal representation of 'characters' which would pose the biggest obstacle.
I may look like a mule, but I'm not a complete ass.
srod wrote:Yes, having looked at the source; it has been assembled for Ansi operations. I'm unsure at this stage how much work would be involved in creating a Unicode version?
**EDIT : I'll answer my own question; a huge amount of work to assemble a unicode version! The string literals and API calls are one thing, -these can all be altered easily enough. It is the internal representation of 'characters' which would pose the biggest obstacle.
it will be great if we can use the unicode double-bytes characters in the editor!!!
Well, the work iinvolved in creating a truly unicode version of this library would take far more time than I have available at the moment. Installing the Masm32 package aside, you would need to alter all string literals (there are only a few mind) and charge through all of the include files (user32.inc, gdi32.inc... etc.) altering a million and one 'equates' to ensure that the wide string functions are being used. It does not look like any kind of conditional assembly is being used to switch between Ansi and Unicode api functions etc. so you will have to use good old search and replace!
Now even when this is done there remains the 'small' problem of physically converting all of the RAEdit asm code so that it uses unicode strings internally. This is the greatest problem and one really that only the original author is equipped to do.
Personally, I would rather write a custom editor from scratch than attempt the conversion!
I may look like a mule, but I'm not a complete ass.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.