Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] How to auto-indent inserted code


I am writing a plug-in that inserts code in the active CEditor. I would like the inserted code to be indented properly.

The CEditor has a feature to "Correct Indentation". How can I reuse this functionality programmatically on the inserted code?

Any pointers would be greatly appreciated.

Best regards,

Back to the top