Version 13.90 beta 1

Test beta versions and make bug reports.
I will release major beta builds only. Bugs fixed will be rolled up into the next major beta build or the finished version.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 5787
Joined: 19 Jul 2006 14:29

Version 13.90 beta 1

Post by Rickard Johansson » 04 May 2019 15:51

I've written my own version of Emmet in Delphi (object pascal) code. It's not based on the Emmet plugin code at all, so there are some minor differences and probably some things not implemented (yet).
The Delphi version is compiled to native machine code which makes it much much faster. And it enables me to add some new functionality.

New in this version:

Abbreviation auto completion list
Press ALT+ENTER to display all available abbreviations from the text clips panel, Emmet snippets and Emmet abbreviations in a list.
Emmet01.png (11.83 KiB) Viewed 224 times
Press ENTER to select an abbreviation. It's inserted as is and not expanded. This allows you to combine abbreviations and snippets to create your own abbreviation.
To expand the abbreviation - press SHIFT+ENTER.

Abbreviation hint
Press SHIFT+CTRL+ENTER to show a hint displaying what the expanded code will look like.
Emmet02.png (7.11 KiB) Viewed 224 times
To expand the abbreviation you can just press ENTER (as long as the hint is visible). You can also use SHIFT+ENTER to expand the abbreviation.

Expand abbreviation at cursor
This function will now expand both user defined abbreviations in the text clip panel and Emmet abbreviations.
Type an abbreviation in your document. E.g. "ul>li*5" in an HTML document or "for" in a PHP document. Press SHIFT+ENTER to expand the abbreviation.
If you set a key as a trigger - you can use that as well to expand the abbreviation. E.g. the TAB key.

Note that you can use SHIFT+CTRL+ENTER to preview the abbreviation before expanding it.

Expand abbreviation using input box
Added a hint that is displayed as you type the abbreviation, so you can preview the result.
Open as normal with CTRL+, and enter your abbreviation inside. A hint pops up showing the expanded code.
Emmet03.png (5.98 KiB) Viewed 224 times
The hint is displayed when you wrap with abbreviations (SHIFT+CTRL+,) as well.

Tab points
Move the text cursor to the next tab position using the TAB key.

A tab point can look something like this: {#1} or {#2: Document}.

If the tab point contain text e.g. {#2: Document} contain the text "Document", it will be selected when moving to the tab position.

Abbreviation favorites
Favorites are display at the top of the abbreviation auto complete list (ALT+ENTER).
Manage favorites in the abbreviation input box (CTRL+,).
Emmet04.png (7.93 KiB) Viewed 224 times
Find and Replace options
Added two new options to skip strings or comments when finding a match.
The options only affect documents that are already open. They are not available when searching e.g. a folder.

* Move line up/down in a detached editor window.
* Decimal issue in convert panel.
* Issue in regular expression creator.
* Spell check issue.
* Misc issues found while coding or reported by users.


Post Reply