mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 17:00:57 +02:00
IDE: codetools defines editor: nicer layout, wordwrap off, patch #28637 from Alexey Torgashin
git-svn-id: trunk@49784 -
This commit is contained in:
parent
82f7a21c05
commit
7c06d1ecd3
@ -242,10 +242,6 @@ msgstr "Obnovit výchozí rozložení"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "vpravo"
|
msgstr "vpravo"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Uložit rozvržení oken jako výchozí"
|
msgstr "Uložit rozvržení oken jako výchozí"
|
||||||
|
@ -229,10 +229,6 @@ msgstr ""
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Speichere Fensterlayout als Vorgabe"
|
msgstr "Speichere Fensterlayout als Vorgabe"
|
||||||
|
@ -207,7 +207,7 @@ msgstr "No titulos para sitios flotantes"
|
|||||||
|
|
||||||
#: anchordockstr.adrsnochildrenallowedfornodetype
|
#: anchordockstr.adrsnochildrenallowedfornodetype
|
||||||
msgid "No children allowed for Node=\"%s\" Type=%s"
|
msgid "No children allowed for Node=\"%s\" Type=%s"
|
||||||
msgstr "Hijos no permitidos para Nodo=\"%s\ Tipo=%s"
|
msgstr "Hijos no permitidos para Nodo=\"%s Tipo=%s"
|
||||||
|
|
||||||
#: anchordockstr.adrsnotsupportedhasparent
|
#: anchordockstr.adrsnotsupportedhasparent
|
||||||
msgid "Not supported: %s has parent %s"
|
msgid "Not supported: %s has parent %s"
|
||||||
@ -229,10 +229,6 @@ msgstr "Restaurar el diseño predeterminado"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "derecha"
|
msgstr "derecha"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr "Guardar diseño al cerrar"
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Guardar diseño de ventana como predeterminado"
|
msgstr "Guardar diseño de ventana como predeterminado"
|
||||||
|
@ -231,10 +231,6 @@ msgstr "Revenir à la disposition par défaut"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "droite"
|
msgstr "droite"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr "Enregistrer la disposition à la fermeture"
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Enregistrer la disposition comme celle par défaut"
|
msgstr "Enregistrer la disposition comme celle par défaut"
|
||||||
@ -294,3 +290,4 @@ msgstr "Pour utiliser l'amarrage par ancres vous devez tout d'abord désinstalle
|
|||||||
#: anchordockstr.adrsundock
|
#: anchordockstr.adrsundock
|
||||||
msgid "Undock"
|
msgid "Undock"
|
||||||
msgstr "Désamarrer"
|
msgstr "Désamarrer"
|
||||||
|
|
||||||
|
@ -231,10 +231,6 @@ msgstr "Alapértelmezett elrendezés visszaállítása"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "jobbra"
|
msgstr "jobbra"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr "Elrendezés mentése kilépéskor"
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Ablakelrendezés mentése alapértelmezettnek"
|
msgstr "Ablakelrendezés mentése alapértelmezettnek"
|
||||||
@ -294,3 +290,4 @@ msgstr "Az ablakok rögzítésének használatához először el kell távolíta
|
|||||||
#: anchordockstr.adrsundock
|
#: anchordockstr.adrsundock
|
||||||
msgid "Undock"
|
msgid "Undock"
|
||||||
msgstr "Rögzítés feloldása"
|
msgstr "Rögzítés feloldása"
|
||||||
|
|
||||||
|
@ -233,10 +233,6 @@ msgstr "Ripristina la disposizione predefinita"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "destra"
|
msgstr "destra"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr "Salva la disposizione della finestra alla chiusura"
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Salva la disposizione della finestra come default"
|
msgstr "Salva la disposizione della finestra come default"
|
||||||
|
@ -247,10 +247,6 @@ msgstr "Atstatyti numatytąjį maketą"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "dešinysis"
|
msgstr "dešinysis"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Lango maketą įrašyti kaip numatytąjį"
|
msgstr "Lango maketą įrašyti kaip numatytąjį"
|
||||||
|
@ -221,10 +221,6 @@ msgstr ""
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -245,10 +245,6 @@ msgstr "Restaurar layout padrão"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "direita"
|
msgstr "direita"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Salvar \"layout\" da janela como padrão"
|
msgstr "Salvar \"layout\" da janela como padrão"
|
||||||
|
@ -239,10 +239,6 @@ msgstr "Восстановить разбивку окна по умолчани
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "справа"
|
msgstr "справа"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr "Сохранять разбивку окна при выходе"
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Сохранить разбивку окна как разбивку по умолчанию"
|
msgstr "Сохранить разбивку окна как разбивку по умолчанию"
|
||||||
|
@ -247,10 +247,6 @@ msgstr "Відновити стандартну схему"
|
|||||||
msgid "right"
|
msgid "right"
|
||||||
msgstr "правий"
|
msgstr "правий"
|
||||||
|
|
||||||
#: anchordockstr.adrssavelayoutonclose
|
|
||||||
msgid "Save layout on close"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: anchordockstr.adrssavewindowlayoutasdefault
|
#: anchordockstr.adrssavewindowlayoutasdefault
|
||||||
msgid "Save window layout as default"
|
msgid "Save window layout as default"
|
||||||
msgstr "Зберегти схему вікон як типову"
|
msgstr "Зберегти схему вікон як типову"
|
||||||
|
@ -3,6 +3,7 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
Height = 581
|
Height = 581
|
||||||
Top = 175
|
Top = 175
|
||||||
Width = 592
|
Width = 592
|
||||||
|
BorderIcons = [biSystemMenu, biMaximize]
|
||||||
Caption = 'CodeToolsDefinesDialog'
|
Caption = 'CodeToolsDefinesDialog'
|
||||||
ClientHeight = 581
|
ClientHeight = 581
|
||||||
ClientWidth = 592
|
ClientWidth = 592
|
||||||
@ -10,13 +11,13 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
OnCreate = CodeToolsDefinesDialogCREATE
|
OnCreate = CodeToolsDefinesDialogCREATE
|
||||||
OnDestroy = FormDestroy
|
OnDestroy = FormDestroy
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '1.1'
|
LCLVersion = '1.5'
|
||||||
object DirectoryGroupbox: TGroupBox
|
object DirectoryGroupbox: TGroupBox
|
||||||
AnchorSideLeft.Control = ValuesTabSheet
|
AnchorSideLeft.Control = ValuesTabSheet
|
||||||
AnchorSideTop.Control = ValuesTabSheet
|
AnchorSideTop.Control = ValuesTabSheet
|
||||||
AnchorSideRight.Control = ValuesTabSheet
|
AnchorSideRight.Control = ValuesTabSheet
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 62
|
Height = 60
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 580
|
Width = 580
|
||||||
Align = alTop
|
Align = alTop
|
||||||
@ -24,13 +25,14 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'DirectoryGroupbox'
|
Caption = 'DirectoryGroupbox'
|
||||||
ClientHeight = 41
|
ClientHeight = 41
|
||||||
ClientWidth = 572
|
ClientWidth = 576
|
||||||
TabOrder = 2
|
TabOrder = 0
|
||||||
object DirectoryCombobox: TComboBox
|
object DirectoryCombobox: TComboBox
|
||||||
|
AnchorSideRight.Control = DirectoryBrowseButton
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 29
|
Height = 29
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 470
|
Width = 508
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
ItemHeight = 0
|
ItemHeight = 0
|
||||||
@ -44,12 +46,11 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
AnchorSideBottom.Control = DirectoryCombobox
|
AnchorSideBottom.Control = DirectoryCombobox
|
||||||
AnchorSideBottom.Side = asrBottom
|
AnchorSideBottom.Side = asrBottom
|
||||||
Left = 541
|
Left = 520
|
||||||
Height = 29
|
Height = 29
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 26
|
Width = 51
|
||||||
Anchors = [akTop, akRight, akBottom]
|
Anchors = [akTop, akRight, akBottom]
|
||||||
AutoSize = True
|
|
||||||
BorderSpacing.Right = 5
|
BorderSpacing.Right = 5
|
||||||
Caption = '...'
|
Caption = '...'
|
||||||
OnClick = DirectoryBrowseButtonCLICK
|
OnClick = DirectoryBrowseButtonCLICK
|
||||||
@ -57,21 +58,22 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
object PageControl1: TPageControl
|
object PageControl1: TPageControl
|
||||||
Left = 0
|
Left = 6
|
||||||
Height = 462
|
Height = 468
|
||||||
Top = 74
|
Top = 72
|
||||||
Width = 592
|
Width = 580
|
||||||
ActivePage = ValuesTabSheet
|
ActivePage = ValuesTabSheet
|
||||||
Align = alClient
|
Align = alClient
|
||||||
|
BorderSpacing.Around = 6
|
||||||
TabIndex = 0
|
TabIndex = 0
|
||||||
TabOrder = 0
|
TabOrder = 1
|
||||||
object ValuesTabSheet: TTabSheet
|
object ValuesTabSheet: TTabSheet
|
||||||
Caption = 'ValuesTabSheet'
|
Caption = 'ValuesTabSheet'
|
||||||
ClientHeight = 429
|
ClientHeight = 437
|
||||||
ClientWidth = 588
|
ClientWidth = 576
|
||||||
object ValuesListview: TListView
|
object ValuesListview: TListView
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 277
|
Height = 285
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 296
|
Width = 296
|
||||||
Align = alLeft
|
Align = alLeft
|
||||||
@ -85,21 +87,21 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
object ValueGroupbox: TGroupBox
|
object ValueGroupbox: TGroupBox
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 123
|
Height = 123
|
||||||
Top = 300
|
Top = 308
|
||||||
Width = 576
|
Width = 564
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
Anchors = [akLeft, akBottom]
|
Anchors = [akLeft, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'Value'
|
Caption = 'Value'
|
||||||
ClientHeight = 102
|
ClientHeight = 104
|
||||||
ClientWidth = 568
|
ClientWidth = 560
|
||||||
TabOrder = 2
|
TabOrder = 4
|
||||||
inline ValueSynedit: TSynEdit
|
inline ValueSynedit: TSynEdit
|
||||||
Cursor = crDefault
|
Cursor = crDefault
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 90
|
Height = 92
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 556
|
Width = 548
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Font.Height = -15
|
Font.Height = -15
|
||||||
@ -542,6 +544,7 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
ShiftMask = [ssShift, ssAlt, ssCtrl]
|
ShiftMask = [ssShift, ssAlt, ssCtrl]
|
||||||
Command = emcMouseLink
|
Command = emcMouseLink
|
||||||
end>
|
end>
|
||||||
|
MouseTextActions = <>
|
||||||
MouseSelActions = <
|
MouseSelActions = <
|
||||||
item
|
item
|
||||||
ClickDir = cdDown
|
ClickDir = cdDown
|
||||||
@ -567,13 +570,17 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
ClickDir = cdDown
|
ClickDir = cdDown
|
||||||
Command = emcStartDragMove
|
Command = emcStartDragMove
|
||||||
end>
|
end>
|
||||||
Lines.Strings = (
|
|
||||||
'ValueSynedit'
|
|
||||||
)
|
|
||||||
Options = [eoAutoIndent, eoBracketHighlight, eoScrollPastEol, eoShowScrollHint, eoSmartTabs, eoTabsToSpaces, eoTrimTrailingSpaces, eoDragDropEditing, eoShowCtrlMouseLinks]
|
Options = [eoAutoIndent, eoBracketHighlight, eoScrollPastEol, eoShowScrollHint, eoSmartTabs, eoTabsToSpaces, eoTrimTrailingSpaces, eoDragDropEditing, eoShowCtrlMouseLinks]
|
||||||
MouseOptions = [emDragDropEditing, emShowCtrlMouseLinks]
|
MouseOptions = [emDragDropEditing, emShowCtrlMouseLinks]
|
||||||
VisibleSpecialChars = [vscSpace, vscTabAtLast]
|
VisibleSpecialChars = [vscSpace, vscTabAtLast]
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
|
SelectedColor.BackPriority = 50
|
||||||
|
SelectedColor.ForePriority = 50
|
||||||
|
SelectedColor.FramePriority = 50
|
||||||
|
SelectedColor.BoldPriority = 50
|
||||||
|
SelectedColor.ItalicPriority = 50
|
||||||
|
SelectedColor.UnderlinePriority = 50
|
||||||
|
SelectedColor.StrikeOutPriority = 50
|
||||||
BracketHighlightStyle = sbhsBoth
|
BracketHighlightStyle = sbhsBoth
|
||||||
BracketMatchColor.Background = clNone
|
BracketMatchColor.Background = clNone
|
||||||
BracketMatchColor.Foreground = clNone
|
BracketMatchColor.Foreground = clNone
|
||||||
@ -585,6 +592,7 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
MouseLinkColor.Foreground = clBlue
|
MouseLinkColor.Foreground = clBlue
|
||||||
LineHighlightColor.Background = clNone
|
LineHighlightColor.Background = clNone
|
||||||
LineHighlightColor.Foreground = clNone
|
LineHighlightColor.Foreground = clNone
|
||||||
|
WantTabs = False
|
||||||
inline TSynGutterPartList
|
inline TSynGutterPartList
|
||||||
object TSynGutterMarks
|
object TSynGutterMarks
|
||||||
Width = 24
|
Width = 24
|
||||||
@ -609,6 +617,8 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
object TSynGutterSeparator
|
object TSynGutterSeparator
|
||||||
Width = 2
|
Width = 2
|
||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
|
MarkupInfo.Background = clWhite
|
||||||
|
MarkupInfo.Foreground = clGray
|
||||||
end
|
end
|
||||||
object TSynGutterCodeFolding
|
object TSynGutterCodeFolding
|
||||||
MouseActions = <
|
MouseActions = <
|
||||||
@ -666,26 +676,26 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
end
|
end
|
||||||
object MainSplitter: TSplitter
|
object MainSplitter: TSplitter
|
||||||
Left = 308
|
Left = 308
|
||||||
Height = 289
|
Height = 297
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 5
|
Width = 5
|
||||||
end
|
end
|
||||||
object TemplatesGroupBox: TGroupBox
|
object TemplatesGroupBox: TGroupBox
|
||||||
Left = 319
|
Left = 319
|
||||||
Height = 277
|
Height = 285
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 263
|
Width = 251
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'TemplatesGroupBox'
|
Caption = 'TemplatesGroupBox'
|
||||||
ClientHeight = 256
|
ClientHeight = 266
|
||||||
ClientWidth = 255
|
ClientWidth = 247
|
||||||
TabOrder = 3
|
TabOrder = 1
|
||||||
object ParsedTemplatesTreeView: TTreeView
|
object ParsedTemplatesTreeView: TTreeView
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 122
|
Height = 122
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 243
|
Width = 235
|
||||||
Align = alTop
|
Align = alTop
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
@ -698,54 +708,44 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
Left = 0
|
Left = 0
|
||||||
Height = 5
|
Height = 5
|
||||||
Top = 134
|
Top = 134
|
||||||
Width = 255
|
Width = 247
|
||||||
Align = alTop
|
Align = alTop
|
||||||
ResizeAnchor = akTop
|
ResizeAnchor = akTop
|
||||||
end
|
end
|
||||||
object TemplatesMemo: TMemo
|
object TemplatesMemo: TMemo
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 105
|
Height = 115
|
||||||
Top = 145
|
Top = 145
|
||||||
Width = 243
|
Width = 235
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Lines.Strings = (
|
|
||||||
'Memo1'
|
|
||||||
''
|
|
||||||
''
|
|
||||||
''
|
|
||||||
''
|
|
||||||
''
|
|
||||||
)
|
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
TabOrder = 1
|
ScrollBars = ssBoth
|
||||||
|
TabOrder = 2
|
||||||
|
WordWrap = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object Splitter1: TSplitter
|
object Splitter1: TSplitter
|
||||||
Cursor = crVSplit
|
Cursor = crVSplit
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 5
|
Height = 5
|
||||||
Top = 289
|
Top = 297
|
||||||
Width = 588
|
Width = 576
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
ResizeAnchor = akBottom
|
ResizeAnchor = akBottom
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object ReportTabSheet: TTabSheet
|
object ReportTabSheet: TTabSheet
|
||||||
Caption = 'ReportTabSheet'
|
Caption = 'ReportTabSheet'
|
||||||
ClientHeight = 429
|
ClientHeight = 437
|
||||||
ClientWidth = 588
|
ClientWidth = 576
|
||||||
object ReportMemo: TMemo
|
object ReportMemo: TMemo
|
||||||
Left = 0
|
Left = 6
|
||||||
Height = 429
|
Height = 425
|
||||||
Top = 0
|
Top = 6
|
||||||
Width = 588
|
Width = 564
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Lines.Strings = (
|
BorderSpacing.Around = 6
|
||||||
'ReportMemo'
|
|
||||||
''
|
|
||||||
''
|
|
||||||
)
|
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
ScrollBars = ssBoth
|
ScrollBars = ssBoth
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
@ -754,8 +754,8 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
end
|
end
|
||||||
object ButtonPanel: TButtonPanel
|
object ButtonPanel: TButtonPanel
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 33
|
Height = 29
|
||||||
Top = 542
|
Top = 546
|
||||||
Width = 580
|
Width = 580
|
||||||
OKButton.Name = 'OKButton'
|
OKButton.Name = 'OKButton'
|
||||||
OKButton.DefaultCaption = True
|
OKButton.DefaultCaption = True
|
||||||
@ -767,7 +767,7 @@ object CodeToolsDefinesDialog: TCodeToolsDefinesDialog
|
|||||||
CancelButton.Name = 'CancelButton'
|
CancelButton.Name = 'CancelButton'
|
||||||
CancelButton.DefaultCaption = True
|
CancelButton.DefaultCaption = True
|
||||||
CancelButton.Enabled = False
|
CancelButton.Enabled = False
|
||||||
TabOrder = 1
|
TabOrder = 2
|
||||||
ShowButtons = [pbOK, pbHelp]
|
ShowButtons = [pbOK, pbHelp]
|
||||||
ShowBevel = False
|
ShowBevel = False
|
||||||
end
|
end
|
||||||
|
@ -265,6 +265,9 @@ begin
|
|||||||
DebugLn(['TLazBuildApplication.OnCodeBufferEncodeSaving Filename=',Code.Filename,' Mem=',Code.MemEncoding,' to Disk=',Code.DiskEncoding]);
|
DebugLn(['TLazBuildApplication.OnCodeBufferEncodeSaving Filename=',Code.Filename,' Mem=',Code.MemEncoding,' to Disk=',Code.DiskEncoding]);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Source:=ConvertEncoding(Source,Code.MemEncoding,Code.DiskEncoding);
|
Source:=ConvertEncoding(Source,Code.MemEncoding,Code.DiskEncoding);
|
||||||
|
{$IF FPC_FULLVERSION >= 20701}
|
||||||
|
SetCodePage(Source,CP_ACP);
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -8767,6 +8767,8 @@ end;
|
|||||||
|
|
||||||
procedure TMainIDE.OnCodeBufferEncodeSaving(Code: TCodeBuffer;
|
procedure TMainIDE.OnCodeBufferEncodeSaving(Code: TCodeBuffer;
|
||||||
const Filename: string; var Source: string);
|
const Filename: string; var Source: string);
|
||||||
|
//var
|
||||||
|
// r: RawByteString;
|
||||||
begin
|
begin
|
||||||
if (Code.DiskEncoding<>'') and (Code.MemEncoding<>'')
|
if (Code.DiskEncoding<>'') and (Code.MemEncoding<>'')
|
||||||
and (Code.DiskEncoding<>Code.MemEncoding) then begin
|
and (Code.DiskEncoding<>Code.MemEncoding) then begin
|
||||||
@ -8774,6 +8776,10 @@ begin
|
|||||||
DebugLn(['TMainIDE.OnCodeBufferEncodeSaving Filename=',Code.Filename,' Mem=',Code.MemEncoding,' to Disk=',Code.DiskEncoding]);
|
DebugLn(['TMainIDE.OnCodeBufferEncodeSaving Filename=',Code.Filename,' Mem=',Code.MemEncoding,' to Disk=',Code.DiskEncoding]);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Source:=ConvertEncoding(Source,Code.MemEncoding,Code.DiskEncoding);
|
Source:=ConvertEncoding(Source,Code.MemEncoding,Code.DiskEncoding);
|
||||||
|
{$IF FPC_FULLVERSION >= 20701}
|
||||||
|
//r:=Source;
|
||||||
|
//SetCodePage(Source,CP_ACP);
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user