Replacing text in ScintillaNet

I have a ScintillaNet text editing tool. I want to replace tabs with 4 x spaces when the user enters a control. I am not quite sure where to do this, as I am not very good at control. I studied all the events, but nothing seems appropriate. Can anyone advise?

+3
source share
1 answer

You can do this using the ScintillaNET.Indentation management property, from the GUI or programmatically.

Set IndentWidth = 4 (four spaces), TabIndents = true and UseTabs = false.
This will be indented with 4 spaces when the Tab key is pressed.

+3
source

Source: https://habr.com/ru/post/1526425/


All Articles