Page 1 of 1

Version 14.10

Posted: 24 Jul 2019 17:45
by Rickard Johansson
This version will include a few new features and a few fixes.

-----------------------------------------------------------
Version 14.10 (July 23, 2019)
-----------------------------------------------------------

Document views
It is now possible to open up to six document views. They can be opened on two rows and each row can contain one, two or three views.
Document views.png
Document views.png (309.01 KiB) Viewed 409 times
Each row is independent so you can have two document views at the top row, and three at the bottom.

Document views can be handled using a toolbar button, or from the "Window" menu.
Document views dropdown.png
Document views dropdown.png (8.23 KiB) Viewed 409 times

Everything should work as in dual document view. Drag n drop, text compare, sync scrolling, close and move tabs ...

Emmet filters
Emmet abbreviations can now handle filters. A filter is added at the end of the abbreviation using a pipe |. E.g. ul>li*|t

Available filters are:

Code: Select all

c - Comment important tags (containing class or id attributes).
e - Escape XML-unsafe characters: <, > and &. E.g. <p>|e => &lt;p&gt;&lt;/p&gt;
s - Single line. Expand everything to a single line of code.
t - Trim line markers from wrapped lines e.g. * or 1.
w - Wordwrap selected or lorem generated text. Default width is 80.
w120 - Wordwrap at column 120.

Code: Select all

      Ex.
        Abbreviation: ul>li*|t

        Selection:
          * Line 1
          * Line 2

        Result:
          <ul>
            <li>Line 1</li>
            <li>Line 2</li>
          </ul>

The line markers * have been trimmed from the expanded code.

Emmet options
A config file is available from the Format->Abbreviations menu. The config file contain some option you can set for different highlighters.

Options available are:

Code: Select all

    AddSlashToEmptyTags: Add a slash to empty tags e.g. <img src="" />
    AlwaysAddNewLine:    Always add linefeed after each tag (usually used in XML)
    CommentTags:         Comment important tags (containing class or id attributes).
    IndentChilds:        Indent child tags. If you set this to false - no indention will be used.
    SingleLine:          Expand everything to a single line of code.
    TrimLineMarkers:     Trim line markers from wrapped lines e.g. * or 1.
    Wordwrap:            Word wrap selected or lorem generated text.
    WordwrapAt:          Wrap at given column. The nearest space or symbol will be used as wrap position.
Search result option
Added an option to use double click to open found items, instead of single click.

Fixed
* Wrap with abbreviation hint issue.

The document views feature required extensive code changes. I still need to check some code and make some more tests. I may make some other minor changes and fix a few reported bugs.
I hope to release a beta version soon.

Re: Version 14.10

Posted: 25 Jul 2019 00:12
by yereverluvinuncleber
That's a definite WOW!

Re: Version 14.10

Posted: 03 Aug 2019 12:12
by Rickard Johansson
Thanks. Version 14.10 has been released and is available from https://www.rj-texted.se/download.html.

Re: Version 14.10

Posted: 03 Aug 2019 23:18
by Alextp
Consider to use free component ATTabs with ATGroups (in the attabs repo). ATGroups allows "groups" = document views. Or you glued to current tabs component?
https://github.com/alexey-t/attabs

Re: Version 14.10

Posted: 04 Aug 2019 07:43
by Rickard Johansson
I wanted to keep the page control component i'm currently using so I decided to use OMultiPanel (http://www.kluug.net/omultipanel.php). I think it works pretty well.