Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
t-edson committed May 1, 2019
1 parent 8266247 commit 2b5efc0
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 16 deletions.
21 changes: 11 additions & 10 deletions synfacil_adapter_atsynedit/demo/demo.lpi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="9"/>
<Version Value="11"/>
<PathDelim Value="\"/>
<General>
<SessionStorage Value="InProjectDir"/>
Expand All @@ -13,9 +13,6 @@
<i18n>
<EnableI18N LFM="False"/>
</i18n>
<VersionInfo>
<StringTable ProductVersion=""/>
</VersionInfo>
<BuildModes Count="3">
<Item1 Name="Default" Default="True"/>
<Item2 Name="Debug">
Expand Down Expand Up @@ -87,17 +84,21 @@
<Version Value="2"/>
</PublishOptions>
<RunParams>
<local>
<FormatVersion Value="1"/>
</local>
<FormatVersion Value="2"/>
<Modes Count="1">
<Mode0 Name="default"/>
</Modes>
</RunParams>
<RequiredPackages Count="2">
<RequiredPackages Count="3">
<Item1>
<PackageName Value="SynEdit"/>
<PackageName Value="atsynedit_package"/>
</Item1>
<Item2>
<PackageName Value="LCL"/>
<PackageName Value="SynEdit"/>
</Item2>
<Item3>
<PackageName Value="LCL"/>
</Item3>
</RequiredPackages>
<Units Count="2">
<Unit0>
Expand Down
23 changes: 19 additions & 4 deletions synfacil_adapter_atsynedit/demo/demo.lps
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<CONFIG>
<ProjectSession>
<PathDelim Value="\"/>
<Version Value="9"/>
<Version Value="11"/>
<BuildModes Active="Debug"/>
<Units Count="21">
<Unit0>
Expand Down Expand Up @@ -69,8 +69,8 @@
<Filename Value="..\synfacil_adapter_atsynedit.pas"/>
<IsVisibleTab Value="True"/>
<EditorIndex Value="1"/>
<TopLine Value="113"/>
<CursorPos X="32" Y="133"/>
<TopLine Value="69"/>
<CursorPos X="61" Y="96"/>
<ExtraEditorCount Value="1"/>
<ExtraEditor1>
<EditorIndex Value="-1"/>
Expand Down Expand Up @@ -168,7 +168,7 @@
<UsageCount Value="9"/>
</Unit20>
</Units>
<JumpHistory Count="8" HistoryIndex="7">
<JumpHistory Count="11" HistoryIndex="10">
<Position1>
<Filename Value="unit1.pas"/>
<Caret Line="61" Column="26" TopLine="30"/>
Expand Down Expand Up @@ -201,6 +201,21 @@
<Filename Value="unit1.pas"/>
<Caret Line="15" Column="24"/>
</Position8>
<Position9>
<Filename Value="..\synfacil_adapter_atsynedit.pas"/>
<Caret Line="127" Column="23" TopLine="106"/>
</Position9>
<Position10>
<Filename Value="..\synfacil_adapter_atsynedit.pas"/>
</Position10>
<Position11>
<Filename Value="..\synfacil_adapter_atsynedit.pas"/>
<Caret Line="34" Column="25" TopLine="4"/>
</Position11>
</JumpHistory>
<RunParams>
<FormatVersion Value="2"/>
<Modes Count="0" ActiveMode="default"/>
</RunParams>
</ProjectSession>
</CONFIG>
Binary file modified synfacil_adapter_atsynedit/demo/demo.res
Binary file not shown.
Binary file added synfacil_adapter_atsynedit/demo/libeay32.dll
Binary file not shown.
Binary file added synfacil_adapter_atsynedit/demo/ssleay32.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions synfacil_adapter_atsynedit/synfacil_adapter_atsynedit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TSynFacilAdapter = class(TATAdapterHilite)
procedure SetStartRangeForLine(ed: TATSynEdit; lin: integer);
public
procedure SetSyntax(const AFilename: string);
procedure StringsLog(Sender: TObject; ALine, ALen: integer);
procedure StringsLog(Sender: TObject; ALine: integer);
procedure edScroll(Sender: TObject);
procedure OnEditorCalcHilite(Sender: TObject;
var AParts: TATLineParts;
Expand Down Expand Up @@ -93,7 +93,7 @@ destructor TSynFacilAdapter.Destroy;
inherited;
end;

procedure TSynFacilAdapter.StringsLog(Sender: TObject; ALine, ALen: integer);
procedure TSynFacilAdapter.StringsLog(Sender: TObject; ALine: integer);
begin
if (Aline>=0) and (Aline<firstModified) then firstModified := ALine;
// DebugLn('OnLog: ALine=' + IntToStr(ALine) + ' ALen=' + IntToSTr(Alen));
Expand Down

0 comments on commit 2b5efc0

Please sign in to comment.