Search found 64 matches

by Alextp
10 Jun 2019 19:00
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Options: no hurry.

Can I publish your Emmet doc as this short html file?
Downloads.zip
(5.5 KiB) Downloaded 215 times
by Alextp
10 Jun 2019 12:50
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Can you add, please, some sort of profiles? See here at the end http://www.uvviewsoft.com/synwrite/files/help/SynWrite/helperzencoding.html syntax html - default profile is 'html', user can choose any profile. syntax xml/xsl/svg - default profile is 'xml', user can choose another. css syntaxes - pro...
by Alextp
07 Jun 2019 11:07
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Good. Just updated readme.md with more text and formatted.
by Alextp
05 Jun 2019 11:56
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

+ constructor Create(const ADataPath: string; const ASnippetsFile: string = ''; + const ALoremFile: string = ''); overload; this renders properties FilenameMMMMM as useless. Pls remove them? Its enough to pass the params on Create. and ADataPath is useless - why to have it if we have full names in A...
by Alextp
04 Jun 2019 23:24
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

I've reported a bug in GH issues pages, pls see.
by Alextp
02 Jun 2019 22:45
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Thanks for update.

About sSelText. Why is it needed at all? for library it's not needed. app can just find | char and replace it with any block. If it's mul-carets, app can replace all |.
sSelText is not work for a lib.
by Alextp
01 Jun 2019 22:46
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

c) You have 2 funcs with "var AList: TStringList". Pls remove "var" because AList pointer is not changed, only object props are changed. d) Can you make 2 properties: FilenameSnippets: string (def value 'Snippets.ini') FilenameLorem: string (def value 'Lorem.txt') pls? I want lowercase names (Unix c...
by Alextp
01 Jun 2019 21:37
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

a) Formatted .md file a little ('free Pascal'->'Free Pascal', removed bad spaces, aligned paragraph)

b) added compat with FPC release 3.0.4 (it had no Pos with 3 arguments, so I added call of PosEx). Pls take my changes to not loose them
by Alextp
01 Jun 2019 11:07
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Can you write - what are possible Syntax values?
I know -- html, xsl, svg, css
Correct?
These allowed too?- scss, sass, less, jsx?
by Alextp
31 May 2019 17:58
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Found new issues- by testing all Emmet docs.
Same GH page, pls see.
by Alextp
31 May 2019 13:52
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

It helped, 3-4 issues fixed. Thanks.

a) FPC warnings:
var "ws" not used.
in ExpandTagAbbrev, var "s" not inited.

b) I added to Github the Delphi demo. Delphi 10.3. in it, I still see these issues:
https://github.com/Alexey-T/Emmet-Pascal/issues/4
https://github.com/Alexey-T/Emmet-Pascal/issues/5
by Alextp
31 May 2019 12:57
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Lazarus, yes. It gives warnings. IMO these are the reason. - main is "function ClimpUpOneLevel" result is not set. What result to set? - func AddExpanded result is not inited. (you have Result:= Result+....) - func GetAbbreviationNames: param AList must not be "out" - with "out" FreePascal uses writ...
by Alextp
31 May 2019 12:00
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

Agree - IndentString is not needed, as well as prop for |.
I have founds bugs.
https://docs.emmet.io/cheat-sheet/

Bugs are
https://github.com/Alexey-T/Emmet-Pascal/issues
by Alextp
31 May 2019 10:50
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

And good to have property TabStopChar, with default value '|'.
by Alextp
31 May 2019 10:44
Forum: Published Code
Topic: Pascal Emmet
Replies: 64
Views: 27411

Re: Pascal Emmet

RIchard,
we need class (TEmmet) property: IndentString, which can be set to #9 or to StringOfChar(' ', N). You know it is needed for editors.