Hi, I tried some.
As you said, the full height block caret in overstrike mode seems to be impossible.
(Scintilla doc says that CARETSTYLE_OVERSTRIKE_BAR
is the default,
but it seems that’s the only one we can choose.)
wx.stc.StyledTextCtrl.GetLibraryVersionInfo()
is an instance, so you have to dig it more.
This snippet will help you!
import re
def _apropos(rexpr, root, pred=None):
"""Put a list of objects having expression `rexpr in `root
with predicates, e.g., is* functions imported from inspect
"""
print("matching to {!r} in {} :{}".format(rexpr, root, pred))
p = re.compile(rexpr, re.I)
for key in sorted(filter(p.search, dir(root)), key=str.upper):
value = getattr(root, key)
if pred is None or pred(value):
print(" {:<36s} {!r}".format(key, value))
def atom(x):
return not hasattr(x, '__name__')
Usage:
>>> _apropos('', wx.stc.StyledTextCtrl.GetLibraryVersionInfo(), atom)
matching to '' in <wx._core.VersionInfo object at 0x000001FD9050FEE0> :<function atom at 0x000001FD90010F70>
Copyright ''
Description 'Scintilla 3.7.2'
Major 3
Micro 2
Minor 7
Name 'Scintilla'
VersionString 'Scintilla 3.7.2'
__dict__ {}
__doc__ 'VersionInfo(name="", major=0, minor=0, micro=0, description=...
__module__ 'wx._core'
__weakref__ None