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