Skip to content
Snippets Groups Projects
Commit 2c7d6034 authored by gambas's avatar gambas
Browse files

Code editor: Pretty printer does not confuse structure keywords with symbols anymore.

[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Pretty printer does not confuse structure keywords with symbols anymore.
parent 2fc17bac
No related branches found
No related tags found
No related merge requests found
Pipeline #491013354 passed
......@@ -437,9 +437,9 @@ Private Sub IndentLineGambas(sLine As String) As String
'$iLastSelect = $iLine
iNextLevel = $iLevel + 2
Else
If $cClose.Exist(sSym) Then Dec $iLevel
If Highlight.Types[0] = Highlight.Keyword And If $cClose.Exist(sSym) Then Dec $iLevel
iNextLevel = $iLevel
If $cOpen.Exist(sSym) Then Inc iNextLevel
If Highlight.Types[0] = Highlight.Keyword And If $cOpen.Exist(sSym) Then Inc iNextLevel
Endif
Endif
......
......@@ -53,6 +53,8 @@ Public Sub _new()
hBorder.Color = Color.LightForeground
gvwLibrary.Rows.Border = hBorder
splLibraries.MinSize = Desktop.Scale * 10
End
Public Sub Form_Close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment