jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
MIT License
963 stars 243 forks source link

How does line indentation work? #524

Open aimcosoftware opened 2 years ago

aimcosoftware commented 2 years ago

Trying to use Lines(n).Indentation property, but it doesn't seem to have any effect. I'm adding the code in the Insert / Delete events when the line count has changed. Any help would be appreciated.

aimcosoftware commented 2 years ago

Apologies, seems that if I call it from CharAdded, it works as expected. Not the ideal place, but I'll play some more.