Version 14.10

Information about the next release of RJ TextEd.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 5808
Joined: 19 Jul 2006 14:29

Version 14.10

Post by Rickard Johansson » 24 Jul 2019 17:45

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 411 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 411 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.

User avatar
yereverluvinuncleber
Posts: 247
Joined: 20 Apr 2018 09:49

Re: Version 14.10

Post by yereverluvinuncleber » 25 Jul 2019 00:12

That's a definite WOW!
Noli pati a scelestis opprimi...

You can find me on Deviantart https://www.deviantart.com/yereverluvinuncleber/gallery/

User avatar
Rickard Johansson
Site Admin
Posts: 5808
Joined: 19 Jul 2006 14:29

Re: Version 14.10

Post by Rickard Johansson » 03 Aug 2019 12:12

Thanks. Version 14.10 has been released and is available from https://www.rj-texted.se/download.html.

Alextp
Posts: 28
Joined: 23 Aug 2014 23:36

Re: Version 14.10

Post by Alextp » 03 Aug 2019 23:18

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

User avatar
Rickard Johansson
Site Admin
Posts: 5808
Joined: 19 Jul 2006 14:29

Re: Version 14.10

Post by Rickard Johansson » 04 Aug 2019 07:43

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.

Post Reply