How can i change tab space size

Dec 2, 2008 at 8:36 PM
 As i said that , how can i change ^^. Default is 8. I wanna set that 4. thx ...
Developer
Dec 11, 2008 at 11:59 AM
I had the same problem and the only way I found is adding

<ScintillaNET>
  <Language Name="<Name>">
    [...]
     <Indentation TabWidth="4" SmartIndentType="<Lexer>" />
    [...]
  </Language>
</ScintillaNET>

to your configuration Xml File.

best regards
Jan 13, 2010 at 4:28 AM

This also seems to work ("sci" is an instance of ScintillaNet)...

sci.NativeInterface.SetTabWidth(4)

Coordinator
Jan 17, 2010 at 6:29 AM

If you don't want to drop down to the NativeInterface this works too

scintilla.Indentation.TabWidth = 4;