Mantieni CRLF nel salvataggio editor Okuma
This commit is contained in:
@@ -485,6 +485,21 @@ Public Class Form1
|
||||
End If
|
||||
End If
|
||||
|
||||
If visibleText(i) = ControlChars.Cr Then
|
||||
builder.Append(vbCrLf)
|
||||
i += 1
|
||||
If i < visibleText.Length AndAlso visibleText(i) = ControlChars.Lf Then
|
||||
i += 1
|
||||
End If
|
||||
Continue While
|
||||
End If
|
||||
|
||||
If visibleText(i) = ControlChars.Lf Then
|
||||
builder.Append(vbCrLf)
|
||||
i += 1
|
||||
Continue While
|
||||
End If
|
||||
|
||||
builder.Append(visibleText(i))
|
||||
i += 1
|
||||
End While
|
||||
|
||||
Reference in New Issue
Block a user