Can I GetScintillaVersion() ...?

Is it possible to get the scintilla version from StyledTextCtrl.
The version it was built with.

Maybe @Robin can help with this one…
I am looking for these infos:

  • wx2.8.12.1 classic
  • wx.2.9.4.0/wx2.9.4.1 classic
  • wx.2.9.5.81 Phoenix
    The Scintilla Version that they were built with

Correct me if I am wrong, but
from what I can tell atm is
Current Phoenix SVN is built from about/around
Scintilla Version Release 3.2.0 …? -Released 1 June 2012.
Also
Current Scintilla Release 3.3.4 -Released 19 July 2013.

If not…, is it easy enough to add in an addition an function GetScintillaVersion() to stc?
return value would be something like …
releaseNumsTuple or list[releaseNumsTuple, versionReleaseDate]
(3,2,0) or [(3,2,0), Jun-1-2012]

My Code Editor is cross py2/3 and wx28/wx29classic/wx2.9phoenix compatible code ATM
and this really would help with identifiying the differences in mycode-wise and possible bugs in each scintilla version.

Where would I get this info other than painstakinglily looking for that stuff in commit logs?

Metallicow wrote:

Is it possible to get the scintilla version from StyledTextCtrl.
The version it was built with.

Maybe @Robin can help with this one...
I am looking for these infos:
* wx2.8.12.1 classic
* wx.2.9.4.0/wx2.9.4.1 classic
* wx.2.9.5.81 Phoenix
The Scintilla Version that they were built with

Correct me if I am wrong, but
from what I can tell atm is
Current Phoenix SVN is built from about/around
Scintilla Version Release 3.2.0 ...? -Released 1 June 2012.
Also
Current Scintilla Release 3.3.4 -Released 19 July 2013.

The current version is usually recorded in the wx source tree at src/stc/scintilla/README.txt

If not..., is it easy enough to add in an addition an function
GetScintillaVersion() to stc?
return value would be something like ...
releaseNumsTuple or list[releaseNumsTuple, versionReleaseDate]
(3,2,0) or [(3,2,0), Jun-1-2012]

It would be simple to add, as long as the version numbers are in one of the Scintilla headers or something. I didn't see any with a quick look, but that doesn't mean they are not there.

···

--
Robin Dunn
Software Craftsman

Any luck on getting this in a wxPython2.9.5.1 RELz?

···

On Wednesday, July 31, 2013 6:01:13 PM UTC-5, Robin Dunn wrote:

It would be simple to add, as long as the version numbers are in one of
the Scintilla headers or something. I didn’t see any with a quick look,
but that doesn’t mean they are not there.

Metallicow wrote:

···

On Wednesday, July 31, 2013 6:01:13 PM UTC-5, Robin Dunn wrote:

    It would be simple to add, as long as the version numbers are in one of
    the Scintilla headers or something. I didn't see any with a quick look,
    but that doesn't mean they are not there.

Any luck on getting this in a wxPython2.9.5.1 RELz?

Haven't had time to look yet. Feel free to research it and send me a PR.

--
Robin Dunn
Software Craftsman