I've a problem, to enable the indent-lines in a standard textfile.
Look here:
Why I do not see any lines at the indent-block ?
Can't see indent-lines
Re: Can't see indent-lines
Because you haven't defined syntax for your TXT file?
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Re: Can't see indent-lines
But it is not depend from the syntax-highlighting, or is it ? It seems like a global setting !
It doesn't work with AutoIt (au3) and activated syntax-highlighting, too !
It doesn't work with AutoIt (au3) and activated syntax-highlighting, too !
Re: Can't see indent-lines
Well, I believe it does depend on a syntax definition: how would editor know where to draw indent lines, and where not to? Even if it's only braces, that matter. Try switching highlighter in a e.g. PHP (or CSS, or JS) file to "text file" to see that not only highlighting of keywords disappears, but also indent lines.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6627
- Joined: 19 Jul 2006 14:29
Re: Can't see indent-lines
Maybe the name of the feature is misleading. The lines display code structures like if-else statements and also indention. In some situations indention is ignored (e.g. line comments). Which is why syntax information is necessary.
I'm sure it can be made to work for plain text files as well (the indention part, not code structures), but in what situations would it be useful?
I'm sure it can be made to work for plain text files as well (the indention part, not code structures), but in what situations would it be useful?
- Rickard Johansson
- Site Admin
- Posts: 6627
- Joined: 19 Jul 2006 14:29
Re: Can't see indent-lines
I also tried indent lines in AutoIt and well...
it seems to work at my end
it seems to work at my end
Re: Can't see indent-lines
Yes, with AutoIt-'Loops' works without problems.
But I thought, that it works also with "Indent Block" from menu 'Format' and Auto-Indent from the new 'Wrap lines at margin with line breaks' !?
Misconception while the last translation to german !
But I thought, that it works also with "Indent Block" from menu 'Format' and Auto-Indent from the new 'Wrap lines at margin with line breaks' !?
Misconception while the last translation to german !