blastframe last edited by blastframe
I'm using Python Syntax Highlighting with a GeDialog MultiLineEditText. In order to make this work, I have to pass
c4d.DR_MULTILINE_PYTHON | c4d.DR_MULTILINE_SYNTAXCOLORas the
style's Symbol IDs. This was not clear from the documentation which describes
DR_MULTILINE_SYNTAXCOLORas C.O.F.F.E.E. syntax highlighting.
It took me some time to figure out that
DR_MULTILINE_PYTHONdoes not work on its own and that
DR_MULTILINE_SYNTAXCOLORis not strictly for C.O.F.F.E.E.. Could you please explain this better in the documentation?
m_adam last edited by
Sorry for the late reply, I thought I answered while not.
The next documentation will be fixed:
DR_MULTILINE_SYNTAXCOLORenables syntax color, coffee, or Python. Since coffee is removed it only helps for the Python Highlighting.
DR_MULTILINE_PYTHONenables specific python line return handling e.g. writing
def Something():, pressing enter will put the caret (text cursor) to a new line and indent it to match python syntax rule.
blastframe last edited by
@m_adam Thank you for the update, Maxime!