Commit a5660d9b authored by Benoît Minisini's avatar Benoît Minisini

Fix how format on load & save option is taken into account.

[DEVELOPMENT ENVIRONMENT]
* BUG: Format on load & save option now mark the files as modified, so that search does not become silly.
* BUG: Format on load & save option is now taken into account by the text editor, not just by code editor.
* NEW: URLLabel.Padding now works correctly in form editor.
parent 24c2f184
......@@ -61,6 +61,7 @@ Static Public Sub _init()
$cRedirect["Height"] = True
$cRedirect["Label.Padding"] = False
$cRedirect["URLLabel.Padding"] = False
$cRedirect["PictureBox.Padding"] = False
$cRedirect["LCDLabel.Padding"] = False
$cRedirect["TextLabel.Padding"] = False
......
......@@ -2198,11 +2198,11 @@ Public Sub Reload()
' If Settings["/Editor/Fold"] Then edtEditor.CollapseAll
' Endif
If Settings["/FormatCode/FormatOnLoad"] Then MPrettyCode.Run(Me)
$hEditor.SetFocus
Modify(True)
If Settings["/FormatCode/FormatOnLoad"] Then MPrettyCode.Run(Me)
SetReadOnly
End
......
......@@ -683,8 +683,10 @@ Public Sub Reload()
UpdateEndOfLine
$hEditor.SetFocus
Editors_Cursor
'Editors_Cursor
Modify(True)
If Settings["/FormatCode/FormatOnLoad"] Then MPrettyCode.Run(Me)
End
......
......@@ -256,45 +256,55 @@
Font = Font["Bold"]
Text = ("Images")
}
{ panCompressPng HBox
MoveScaled(1,40,66,4)
Spacing = True
{ panCompressPng Panel
MoveScaled(1,39,66,4)
Arrangement = Arrange.Horizontal
Indent = True
{ Label77 TextLabel
MoveScaled(0,0,47,4)
Expand = True
Text = ("Compress PNG images with '<tt>pngquant</tt>'")
Alignment = Align.Normal
{ Label77 Label
MoveScaled(0,0,25,4)
AutoResize = True
Text = ("Compress PNG images with ")
}
{ URLLabel1 URLLabel
MoveScaled(25,0,11,4)
#Translate = False
AutoResize = True
Text = "pngquant"
Link = "https://pngquant.org/"
}
{ Spring3 Spring
MoveScaled(38,1,5,2)
}
{ btnCompressPng SwitchButton
MoveScaled(50,0,8,4)
Animated = True
}
}
{ URLLabel1 URLLabel
MoveScaled(1,45,34,2)
#Translate = False
Font = Font["-3"]
Text = "https://pngquant.org/"
Alignment = Align.Right
}
{ Label82 Label
MoveScaled(0,48,63,3)
MoveScaled(0,46,63,3)
Font = Font["Bold"]
Text = ("Translation")
}
{ panAutoTrans HBox
MoveScaled(1,52,66,4)
Spacing = True
MoveScaled(1,50,66,4)
Indent = True
{ Label80 TextLabel
MoveScaled(0,0,47,4)
Expand = True
Text = ("Automatic translation with '<tt>translate-shell</tt>'")
Alignment = Align.Normal
{ Label80 Label
MoveScaled(0,0,24,4)
AutoResize = True
Text = ("Automatic translation with ")
}
{ URLLabel2 URLLabel
MoveScaled(23,0,14,4)
#Translate = False
AutoResize = True
Text = "translate-shell"
Link = "https://github.com/soimort/translate-shell"
}
{ Spring4 Spring
MoveScaled(40,1,6,2)
}
{ btnAutoTrans SwitchButton
MoveScaled(50,0,8,4)
MoveScaled(51,0,8,4)
Animated = True
}
}
......@@ -313,13 +323,6 @@
ReadOnly = True
}
}
{ URLLabel2 URLLabel
MoveScaled(1,62,34,2)
#Translate = False
Font = Font["-3"]
Text = "https://github.com/soimort/translate-shell"
Alignment = Align.Right
}
Index = 2
Text = ("Interface")
Picture = Picture["icon:/medium/menu"]
......
app/src/gambas3/img/background/christ.png

209 Bytes | W: | H:

app/src/gambas3/img/background/christ.png

215 Bytes | W: | H:

app/src/gambas3/img/background/christ.png
app/src/gambas3/img/background/christ.png
app/src/gambas3/img/background/christ.png
app/src/gambas3/img/background/christ.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment