Version 16.12

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

Version 16.12

Post by Rickard Johansson »

Done so far...

-----------------------------------------------------------
Version 16.12 (Feb 14, 2024)
-----------------------------------------------------------

Mini toolbar
Added a "Capitalize" button.

Made some minor visual changes.

Code hints
Made some code changes to make long text fit better inside the window and made some small size changes.

Auto completion
Added code to prevent the auto completion window to become wider than the current display.

Emmet abbreviations
Tabs are now used for indention unless the option to insert spaces is set in options.

Scripts
Created a new "ScriptSettings" object with the following methods:

Code: Select all

    procedure DeleteKey(const Section, Ident: String)
    procedure EraseSection(const Section: string)
    function ReadBool(const Section, Ident: string; Default: Boolean): Boolean
    function ReadDateTime(const Section, Name: string; Default: TDateTime): TDateTime
    function ReadDate(const Section, Name: string; Default: TDateTime): TDateTime
    function ReadFloat(const Section, Name: string; Default: Double): Double
    function ReadInteger(const Section, Ident: string; Default: Integer): Integer
    function ReadString(const Section, Ident, Default: string): string
    function ReadTime(const Section, Name: string; Default: TDateTime): TDateTime
    function SectionExists(const Section: string): Boolean
    procedure UpdateFile;
    function ValueExists(const Section, Ident: string): Boolean
    procedure WriteBool(const Section, Ident: string; Value: Boolean)
    procedure WriteDateTime(const Section, Name: string; Value: TDateTime)
    procedure WriteDate(const Section, Name: string; Value: TDateTime)
    procedure WriteFloat(const Section, Name: string; Value: Double)
    procedure WriteInteger(const Section, Ident: string; Value: Integer)
    procedure WriteString(const Section, Ident, Value: String)
    procedure WriteTime(const Section, Name: string; Value: TDateTime)

Use it to store settings in your scripts. All settings are stored to a file.

Code: Select all

    E.g
    ScriptSettings.WriteInteger("Convert","Max",500);
    int max = ScriptSettings.ReadInteger("Convert","Max",100);

If you use "Temp" as section name - settings are stored in memory as long as the program is running, but not saved to file.

Vyper
Added a new highlighter for Vyper.

AutoIt
Fixed an issue with #cs ... #ce block comments.

Updated tools
* Syntax Editor. Minor visual fixes.
* Image list Editor. Made some small improvements.

Fixed
* Search issue in the options window.

I'll release this version in a day or so...
User avatar
Rickard Johansson
Site Admin
Posts: 6628
Joined: 19 Jul 2006 14:29

Re: Version 16.12

Post by Rickard Johansson »

Post Reply