MultiLineEditText Documentation

  • Hello,
    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_SYNTAXCOLOR as the style's Symbol IDs. This was not clear from the documentation which describes DR_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 that DR_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. writing def Something():, pressing enter will put the caret (text cursor) to a new line and indent it to match python syntax rule.


  • @m_adam Thank you for the update, Maxime!