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

The "remove trailing spaces" formatting option has no effect on '*.md' or '*.MD' files.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: The "remove trailing spaces" formatting option has no effect on '*.md' or '*.MD' files.
parent ba39f8ff
......@@ -50,7 +50,7 @@ NameList: Adobe Glyph List
DisplaySize: 16
AntiAlias: 1
FitToEm: 1
WinInfo: 7011 57 16
WinInfo: 0 57 16
OnlyBitmaps: 1
BeginPrivate: 0
EndPrivate
......@@ -24784,16 +24784,16 @@ BDFChar: 1 32 9 8 8 -2 -2
z
BDFChar: 2 33 9 3 4 0 10
^qdb$^qdb$!5QAM
BDFChar: 3 34 9 1 5 8 11
f[r`V
BDFChar: 3 34 9 2 6 9 11
f\"gV
BDFChar: 4 35 9 1 7 0 10
Ci!qeCi!qeCi!nf
BDFChar: 5 36 9 1 6 -1 11
0JImi^qb1'$k2nb0E;(Q
BDFChar: 6 37 9 0 8 0 11
@fWh8[K'n>$ig\9(]YBQ1B9:_AUn7j
Eraqph>h^!$ig\9(]YBQ2ZQ!kD1H7!
BDFChar: 7 38 9 0 7 0 10
3,EDI3&#F)bhR7>
3,EDI3&#F[email protected]
BDFChar: 8 39 9 3 4 9 11
^qd_c
BDFChar: 9 40 9 2 5 -1 11
......@@ -24845,7 +24845,7 @@ BDFChar: 31 62 9 2 7 1 9
BDFChar: 32 63 9 1 7 0 10
I)Z?p$lCZP!&-),
BDFChar: 33 64 9 0 7 0 10
5%Djfe^`4#c<rj:
5%DpngY:K;c<rj:
BDFChar: 34 65 9 1 7 0 10
I)a1G`r<ut`l?!u
BDFChar: 35 66 9 1 7 0 10
......@@ -24975,7 +24975,7 @@ z
BDFChar: 97 161 9 3 4 0 10
^q]pM^qdb$^qd_c
BDFChar: 98 162 9 1 7 -2 9
&.j6/^qdb$`dA=/
(`7_;^qdb$^j[+;
BDFChar: 99 163 9 1 7 0 10
*\^[email protected]/+,;?srs6
BDFChar: 100 164 9 0 7 1 7
......
......@@ -23635,16 +23635,16 @@ BDFChar: 1 32 9 8 8 -2 -2
z
BDFChar: 2 33 9 3 3 0 10
J:N0#J:N0#!.]S"
BDFChar: 3 34 9 2 6 8 11
f[r`V
BDFChar: 3 34 9 3 5 9 11
TV.qX
BDFChar: 4 35 9 1 6 0 10
84Z;L84Z;L84Z8O
BDFChar: 5 36 9 2 6 -1 11
+<YoZJ:MSE#RKoB+92BA
BDFChar: 6 37 9 1 6 0 11
7&6bP&.fs,85th0
BDFChar: 7 38 9 1 7 0 10
0M"`*0Ha8XLkp3S
BDFChar: 7 38 9 1 6 0 10
0M"`2+<XLFLkp-Q
BDFChar: 8 39 9 3 3 9 11
J:N.M
BDFChar: 9 40 9 2 4 -1 11
......
......@@ -909,7 +909,7 @@ End
'
' End
Private Sub GetUncompressedPath(Optional bActual As String) As String
Private Sub GetUncompressedPath(Optional bActual As Boolean) As String
Dim sPath As String = Project.Dir &/ ".hidden/.uncompressed" &/ Mid$(Path, Len(Project.Dir) + 1)
If bActual And If Not Exist(sPath) Then sPath = Path
......
......@@ -75,10 +75,12 @@ Public Sub Run(hModule As Object)
Dim aTypes As Integer[]
Dim iStart, iEnd As Integer
Dim hEditor As TextEditor
Dim sPath As String
Inc Application.Busy
hEditor = hModule.GetEditor()
sPath = hModule.Path
If hEditor.Selected Then
iStart = Min(hEditor.Line, hEditor.SelectionLine)
......@@ -95,6 +97,8 @@ Public Sub Run(hModule As Object)
$bRemoveSpace = Settings["/FormatCode/RemoveSpaces", 0]
$bKeepVoidLine = Settings["/FormatCode/KeepVoidLines", 0]
If LCase(File.Ext(sPath)) = "md" Then $bRemoveSpace = False
$iLevel = 0
If hEditor.TabIndent Then
$iIndentSize = 0
......
......@@ -6402,7 +6402,7 @@ Public Sub IsModified(sPath As String, Optional bNoClass As Boolean) As Boolean
If HasFlag(sPath, FLAG_MODIFIED) Then Return True
If Not IsSourcePath(sPath) Then Return
If File.Ext(sPath) <> "form" Then Return
If Not IsFormPath(sPath) Then Return
If bNoClass Then Return
Return HasFlag(File.SetExt(sPath, "class"), FLAG_MODIFIED)
......
......@@ -89,12 +89,11 @@ STARTCHAR quotedbl
ENCODING 34
SWIDTH 562 0
DWIDTH 9 0
BBX 5 4 1 8
BBX 5 3 2 9
BITMAP
D8
D8
48
90
D8
ENDCHAR
STARTCHAR numbersign
ENCODING 35
......@@ -140,18 +139,18 @@ SWIDTH 562 0
DWIDTH 9 0
BBX 9 12 0 0
BITMAP
6300
B300
B600
6600
7300
DB00
DE00
7600
0C00
0C00
1800
1800
3300
3580
6580
6300
3700
3D80
6D80
6700
ENDCHAR
STARTCHAR ampersand
ENCODING 38
......@@ -166,9 +165,9 @@ BITMAP
38
30
73
D6
DE
CC
DC
DE
73
ENDCHAR
STARTCHAR quotesingle
......@@ -575,12 +574,12 @@ BBX 8 11 0 0
BITMAP
3E
63
CD
D5
D5
D5
D5
D5
CF
DB
DB
DB
DB
DB
CE
60
3F
......@@ -1677,18 +1676,18 @@ SWIDTH 562 0
DWIDTH 9 0
BBX 7 12 1 -2
BITMAP
10
10
7C
C6
18
18
7E
C0
C0
C0
C0
C6
7C
10
10
C0
C0
7E
18
18
ENDCHAR
STARTCHAR sterling
ENCODING 163
......
......@@ -89,12 +89,11 @@ STARTCHAR quotedbl
ENCODING 34
SWIDTH 562 0
DWIDTH 9 0
BBX 5 4 2 8
BBX 3 3 3 9
BITMAP
D8
D8
48
90
A0
A0
A0
ENDCHAR
STARTCHAR numbersign
ENCODING 35
......@@ -157,19 +156,19 @@ STARTCHAR ampersand
ENCODING 38
SWIDTH 562 0
DWIDTH 9 0
BBX 7 11 1 0
BBX 6 11 1 0
BITMAP
30
48
48
48
30
50
20
52
20
50
94
88
88
76
74
ENDCHAR
STARTCHAR quotesingle
ENCODING 39
......
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