Feature #1353

Tag syntax could support indentations

Added by Zbigniew Rebacz almost 4 years ago. Updated over 2 years ago.

Status:Patch readyStart date:12/10/2015
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:CodeEditorSpent time:-
Target version:-

Description

Example:

<html>
____<body>
________<p></p>
____<body> <!-- Probably here user need to reverse identation - or detect this situation and remove indent from begining -->
</html>

__ - 4 _ means one identation

CodeEditorTagIdentation.diff Magnifier - Current working version (11.6 KB) Zbigniew Rebacz, 02/07/2016 06:02 PM

CodeEditorTagIdent.diff Magnifier - Production version with IdentRecognizer (15.3 KB) Zbigniew Rebacz, 02/20/2016 11:44 PM

History

#1 Updated by Zbigniew Rebacz over 3 years ago

  • File TagSyntaxIdentation.diff added

#2 Updated by Zbigniew Rebacz over 3 years ago

  • File TagSyntaxIdentation.diff added

#3 Updated by Miroslav Fidler over 3 years ago

  • Target version changed from Release 2017.1 to Release 2017.1 - NTH

#4 Updated by Zbigniew Rebacz over 3 years ago

  • File deleted (TagSyntaxIdentation.diff)

#6 Updated by Zbigniew Rebacz over 3 years ago

  • File CodeEditorTagIdent.diff added
  • Status changed from New to Patch ready
  • Assignee set to Miroslav Fidler

Production version added.

Not everything is working, but the main core is implemented. Moreover the class IdentRecognizer is added to not duplicate code.

#7 Updated by Zbigniew Rebacz over 3 years ago

  • File deleted (CodeEditorTagIdent.diff)

#8 Updated by Zbigniew Rebacz over 3 years ago

  • File deleted (TagSyntaxIdentation.diff)

#10 Updated by Zbigniew Rebacz over 3 years ago

There is a typo in this implementation:
- It should be Indent instead of Ident? - What do you think in CodeEditor code we have functions like GetLineIdent?

#11 Updated by Zbigniew Rebacz over 3 years ago

  • Target version changed from Release 2017.1 - NTH to Release 2017.1

#12 Updated by Zbigniew Rebacz over 2 years ago

  • Target version deleted (Release 2017.1)

Also available in: Atom PDF