Virtual indent of blank lines.

SyntaxEditor for WPF Forum

Posted 5 months ago by Sunshine - Appeon
Version: 21.1.1
Avatar

Picture example: https://ibb.co/h20CwJn

The area underlined in red in the picture is free of spaces and tabs.

There is such a feature in VS: When the mouse clicks on a blank line, the cursor will stay at the specified indentation position, even if there is no content in front of it.

In the process of realizing this feature.I can move the cursor position by setting the IndentAmount property of the specified line. But this will automatically fill in the blank symbol in front of the cursor.

The effect I expect is that the cursor can stay at the specified position like VS, and the space will not be automatically filled in the front, otherwise, as long as the mouse clicks on the blank line, the text will become a modified state.

Comments (2)

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Thank you for the suggestion.  This seems to be a feature added in more recent versions of Visual Studio and seems to only work in certain languages.


Actipro Software Support

Posted 4 months ago by Sunshine - Appeon
Avatar

This function allows the user's cursor to quickly reach the correct indentation position, which is a very good experience. At present, most of our languages ​​can support this feature.

The latest build of this product (v21.1.3) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.