www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - ScintillaD 0.0.1

reply zhang <bitworld qq.com> writes:
ScintillaD is a D port of Scintilla which is implemented in C++.

Scintilla is an excellent editing component.

The GUI toolkit which ScintillaD lies on is WindowsApi on Windows.

The ScintillaD's APIs are almost identical with Scintilla's.
The changes to APIs are done mainly in order to use the properties
of D programming language.


Project url: https://bitbucket.org/heromyth/scintillad
Current status: Not runnable, but compilable and debuggable.

----------
Zhang <bitworld qq.com>
Sep 02 2011
next sibling parent reply "Nick Sabalausky" <a a.a> writes:
"zhang" <bitworld qq.com> wrote in message 
news:mailman.2638.1314964940.14074.digitalmars-d puremagic.com...
 ScintillaD is a D port of Scintilla which is implemented in C++.

 Scintilla is an excellent editing component.

 The GUI toolkit which ScintillaD lies on is WindowsApi on Windows.

 The ScintillaD's APIs are almost identical with Scintilla's.
 The changes to APIs are done mainly in order to use the properties
 of D programming language.


 Project url: https://bitbucket.org/heromyth/scintillad
 Current status: Not runnable, but compilable and debuggable.
Fantasic :) Once this becomes runnable and useable, do you have any particular plans for it? Any features you're planning to add that aren't in C++ Scintilla? (I'd *love* to be able to have support for elastic tabstops.) Or it is simply to be able to easily use Scintilla from D? ------------------------------- Not sent from an iPhone.
Sep 02 2011
parent Trass3r <un known.com> writes:
 Any features you're planning to add that aren't in C++ Scintilla? (I'd  
 *love* to be able to have support for elastic tabstops.)
Never heard of elastic tabstops before. Thx for mentioning that.
Nov 09 2011
prev sibling parent reply bearophile <bearophileHUGS lycos.com> writes:
Zhang:

 Project url: https://bitbucket.org/heromyth/scintillad
 Current status: Not runnable, but compilable and debuggable.
Have you found something in D/Phobos that has caused you troubles? After your experience do you desire something in D/Phobos to be different? Bye, bearophile
Sep 02 2011
next sibling parent zhang <bitworld qq.com> writes:
 Zhang:
 
 Project url: https://bitbucket.org/heromyth/scintillad
 Current status: Not runnable, but compilable and debuggable.
Have you found something in D/Phobos that has caused you troubles? After your experience do you desire something in D/Phobos to be different? Bye, bearophile
For Windows, I thinks all the strings for output should be converted to Windows Unicode (UTF16). In D/Phobos, there is a function: std.string.toStringz() for conversion from an UTF8 string in D to null-terminated string in C/C++. Maybe, std.utf.toUTF16z() can't support converting from an normal UTF16 string in D to null-terminated string in C/C++ directly. For example: wstring ws = "test"; const(wchar)* wsPtr = std.utf.toUTF16z(ws); Of course, I can do it like this: const(wchar)* wsPtr = std.utf.toUTF16z(std.utf.toUTF8(ws)); ---------- Zhang <bitworld qq.com>
Sep 03 2011
prev sibling next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 9/3/11, zhang <bitworld qq.com> wrote:
 Maybe, std.utf.toUTF16z() can't support converting from an normal UTF16
 string in D to null-terminated string in C/C++ directly.
The new toUTFz (I'm not sure if that is the real name) in an upcoming release will support this.
Sep 03 2011
prev sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
Hey zhang,

I see you can now run SciteD, but it still crashes of course. Does
ScintillaD have more bugs to fix, or just SciteD, or even both?
Nov 09 2011