Search found 45 matches
- 11 Oct 2020 19:08
- Forum: General discussion
- Topic: We need Delphi component (open src) for LSP protocol
- Replies: 2
- Views: 9894
We need Delphi component (open src) for LSP protocol
I welcome if you make open-src component to use Microsoft LSP protocol. I will use it too. I am not good in network stuff and cannot write it. It must use HTTP and communicate with LSP servers (each language is supported via its own server). And send/get JSON data to it. Component must make JSON dat...
- 11 Oct 2020 18:23
- Forum: General discussion
- Topic: Intelligent HTML+CSS autocompletion in ATSynEdit_Cmp
- Replies: 0
- Views: 14385
Intelligent HTML+CSS autocompletion in ATSynEdit_Cmp
This package has the SUBJ. https://github.com/alexey-t/atsynedit_cmp It can be ported to Delphi (part is ATSynEdit dependant but all access to ATSynEdit properties can be replaced to use other editor). I welcome you to use its non-ATSynEdit part. and welcome to extend it. E.g. HTML auto-completion c...
- 08 Jul 2020 13:34
- Forum: Published Code
- Topic: Pascal Emmet
- Replies: 64
- Views: 290527
Re: Pascal Emmet
On Jul.02 I updated the emmethelper.pas
https://github.com/Alexey-T/Emmet-Pasca ... ster/emmet
https://github.com/Alexey-T/Emmet-Pasca ... ster/emmet
- 02 Jul 2020 16:27
- Forum: Syntax files
- Topic: Go syntax - many issues
- Replies: 0
- Views: 13550
Go syntax - many issues
I checked SublimeText test for Golang, and found many issues - numbers is many formats - note Go has hex+float, and has _ separator - {{ }} brackets inside quotes - they can have nested " so you must handle "{{ and }}" special 0; 123456789; -0; -123456789; 1777_000_000; 00; 01234567; ...
- 24 May 2020 16:30
- Forum: Published Code
- Topic: TextDiff
- Replies: 11
- Views: 17343
Re: TextDiff
updated in GH. thanks. I am not sure it is ok to put Textdiff.exe in GH. they allow open src only.
- 23 May 2020 18:15
- Forum: Published Code
- Topic: TextDiff
- Replies: 11
- Views: 17343
Re: TextDiff
a) h := PaintBox1.Canvas.TextHeight('W'); w := PaintBox1.Canvas.TextWidth('W'); better to calc in FormShow 1 time b) y := y+h+5; PaintBox1.Canvas.Brush.Color := clBtnFace; PaintBox1.Canvas.TextOut(0,y,' Matches : '+inttostr(matches)); y := y+h+2; PaintBox1.Canvas.Brush.Color := $AAFFAA; PaintBox1.Ca...
- 23 May 2020 18:13
- Forum: Published Code
- Topic: TextDiff
- Replies: 11
- Views: 17343
Re: TextDiff
Pls remove "uses Windows" in HashUnit becase of Unix in FPC.
In both demos, too...
In both demos, too...
- 23 May 2020 07:05
- Forum: Published Code
- Topic: TextDiff
- Replies: 11
- Views: 17343
Re: TextDiff
Wish for demo1 code: it has function which heavily uses paitning via DC. better to rewrite it to use TCanvas methods. e.g. TextOut(canvas1.handle, .....) -> canvas1.TextOut(....). This is more compatible for all WSes in Lazarus. Current code may work or may not (if LCL Widgetset is not complete). pr...
- 23 May 2020 06:27
- Forum: Published Code
- Topic: TextDiff
- Replies: 11
- Views: 17343
Re: TextDiff
RJ, small report: - made small fixes to demo1 and demo2 to compile them on Linux in Lazarus (in Github) - I run demo2, choose 2 files: https://github.com/Alexey-T/TRegExpr/blob/master/src/RegExpr.pas https://github.com/Alexey-T/ATSynEdit/blob/master/atsynedit/atsynedit_regexpr.pas I compare them. no...
- 21 May 2020 06:38
- Forum: Published Code
- Topic: TextDiff
- Replies: 11
- Views: 17343
Re: TextDiff
Ok, thanks, it is here:
https://github.com/Alexey-T/TextDiff
https://github.com/Alexey-T/TextDiff
- 19 May 2020 15:46
- Forum: Published Code
- Topic: TextDiff
- Replies: 11
- Views: 17343
Re: TextDiff
Thanks for this code! If you won't put it on Github, can I do it? my GH account is Alexey-T.
- 13 May 2020 15:42
- Forum: General discussion
- Topic: Source code of diff-tool in Pascal
- Replies: 2
- Views: 10332
Source code of diff-tool in Pascal
Hello again I 've read that RJ TextEd has "jump to next/previous difference". So it has the powerfull diff-tool in Pascal. My program in Pascal uses Python plugin with "difflib" which works ok (btw it gives result in several formats by option) but it's slow on big files (5-10Mb)....
- 08 May 2020 08:11
- Forum: Published Code
- Topic: Pascal Emmet
- Replies: 64
- Views: 290527
Re: Pascal Emmet
thanks. about new option AlwaysReturnNnnnnn. if it is False, then Emmet.pas must/should return ${n} tabstops if final snippet has mixed tabstops ( | and ${n} ).
- 06 May 2020 16:59
- Forum: Published Code
- Topic: Pascal Emmet
- Replies: 64
- Views: 290527
Re: Pascal Emmet
FPC 3.0.4 compile error emmet.pas function TEmmet.ExpandAbbreviation(AString: string; const ASyntax, ASelText: string; out ASection: string; out bMultiCursorTabs: Boolean): string; .. opt.AlwaysReturnIndexedTabs := False; while record has another member TExpandOptions = record AddSlashToEmptyTags: B...
- 30 Apr 2020 15:20
- Forum: Published Code
- Topic: Pascal Emmet
- Replies: 64
- Views: 290527
Re: Pascal Emmet
RJ, can you please see report at viewtopic.php?p=17013#p17013 ?