mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 17:20:37 +02:00
Formatting, comment.
git-svn-id: trunk@52109 -
This commit is contained in:
parent
3594a6b528
commit
2c41ccf609
@ -643,7 +643,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{ Find the start of the UTF8 character which contains BytePos,
|
{ Find the start of the UTF8 character which contains BytePos,
|
||||||
if BytePos is not part of a valid Utf8Codepoint the function returns BytePos
|
if BytePos is not part of a valid Utf8 Codepoint the function returns BytePos
|
||||||
Len is length in byte, BytePos starts at 0 }
|
Len is length in byte, BytePos starts at 0 }
|
||||||
function UTF8FindNearestCharStart(UTF8Str: PChar; Len: SizeInt; BytePos: SizeInt): SizeInt;
|
function UTF8FindNearestCharStart(UTF8Str: PChar; Len: SizeInt; BytePos: SizeInt): SizeInt;
|
||||||
var
|
var
|
||||||
|
@ -639,7 +639,7 @@ begin
|
|||||||
// register special buttons in the dialog itself
|
// register special buttons in the dialog itself
|
||||||
btnShowOptions := CreateButton(dlgCOShowOptions);
|
btnShowOptions := CreateButton(dlgCOShowOptions);
|
||||||
btnShowOptions.LoadGlyphFromResourceName(HInstance, 'menu_compiler_options');
|
btnShowOptions.LoadGlyphFromResourceName(HInstance, 'menu_compiler_options');
|
||||||
btnShowOptions.OnClick := @DoShowOptions;
|
btnShowOptions.OnClick := @DoShowOptions;
|
||||||
// Check
|
// Check
|
||||||
btnCheck := CreateButton(lisCompTest);
|
btnCheck := CreateButton(lisCompTest);
|
||||||
btnCheck.ModalResult := mrNone;
|
btnCheck.ModalResult := mrNone;
|
||||||
@ -650,12 +650,12 @@ begin
|
|||||||
|
|
||||||
// Export
|
// Export
|
||||||
btnExport := CreateButton(lisExport);
|
btnExport := CreateButton(lisExport);
|
||||||
btnExport.OnClick := @DoExport;
|
btnExport.OnClick := @DoExport;
|
||||||
btnExport.Hint := dlgCOLoadSaveHint;
|
btnExport.Hint := dlgCOLoadSaveHint;
|
||||||
btnExport.LoadGlyphFromStock(idButtonSave);
|
btnExport.LoadGlyphFromStock(idButtonSave);
|
||||||
// Import
|
// Import
|
||||||
btnLoadSave := CreateButton(lisImport);
|
btnLoadSave := CreateButton(lisImport);
|
||||||
btnLoadSave.OnClick := @DoImport;
|
btnLoadSave.OnClick := @DoImport;
|
||||||
btnLoadSave.Hint := dlgCOLoadSaveHint;
|
btnLoadSave.Hint := dlgCOLoadSaveHint;
|
||||||
btnLoadSave.LoadGlyphFromStock(idButtonOpen);
|
btnLoadSave.LoadGlyphFromStock(idButtonOpen);
|
||||||
if btnLoadSave.Glyph.Empty then
|
if btnLoadSave.Glyph.Empty then
|
||||||
|
Loading…
Reference in New Issue
Block a user