开发者

Is there anyway to enable MultiSelect in the StyledTextCtrl

开发者 https://www.devze.com 2022-12-17 18:07 出处:网络
I\'ve noticed that the StyledTextControl (Scintilla basically) in wxWidgets has a great feature that allows multi-selections of text, just like TextMate. However wxRuby doesn\'t seem to have the funct

I've noticed that the StyledTextControl (Scintilla basically) in wxWidgets has a great feature that allows multi-selections of text, just like TextMate. However wxRuby doesn't seem to have the function开发者_运维问答 calls to support that feature. I'm wonder if there is a way to enable it or if there might be a way I could rewrite that wrapper to include that function.

It seems strange that they would purposely omit that since they are seemingly pretty exhaustive on most functions calls. Any insight on this would be greatly appreciated. I'm trying to write an open source TextMate clone in Ruby and it's gonna be pretty hard without MultiSelect, I could probably hack something together but it'd be ugly. Thanks ahead of time.


You don't write which version of wxWidgets you are using, but AFAIK only the 2.x versions of the Scintilla library support MultiSelect, which isn't available in stable wxWidgets. wxWidgets 2.8.10 uses Scintilla version 1.70. The SVN trunk uses version 1.75.

0

精彩评论

暂无评论...
验证码 换一张
取 消