Recent

Author Topic: ATSynEdit  (Read 16100 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
ATSynEdit
« on: July 21, 2015, 11:01:31 am »
No problems were found in comp, and things were added:

- good documentation http://wiki.freepascal.org/ATSynEdit
- key combos (e.g. you can assign to action a combo: [Alt+K, Alt+K, Alt+B] )
- Finder class, it's capable if finding of text and regex
(see doc wiki, part "How to find/replace")
- demo_editor has Find/Replace dialog


https://github.com/Alexey-T/ATSynEdit

« Last Edit: February 22, 2016, 10:22:23 am by Alextp »

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit 0.9
« Reply #1 on: September 04, 2015, 02:11:12 am »
Added-
API for auto-complete list
Example of this API usage-- CSS auto-comp. (uses SynWrite data file for css)

http://wiki.freepascal.org/ATSynEdit

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit 0.9
« Reply #2 on: September 06, 2015, 01:43:05 pm »
Added full working code which is like Synwrite:
- CSS autocompletion as func
- HTML autocompletion as func

see wiki.

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #3 on: February 22, 2016, 10:24:17 am »
Some things added in last months-

- selection hiliting of tokens, doesn't loose font styles (if token was italic, selected token is italic)
- Attribs object, allows to apply color ranges (e.g. hilite brackets)
- URL hiliting

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #4 on: July 21, 2016, 01:48:54 am »
Now done work to support RETINA on Mac, i was shocked that Synedit (from Martin) supported Retina already, while my code did not. I found out that I need to paint directly to Canvas. Only then Retina image is ok

Now added DoubleBuffered for this and now ok.. it is False for mac , and can be False for QT (True for QT also good)
« Last Edit: July 21, 2016, 01:51:30 am by Alextp »

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #5 on: April 18, 2018, 07:31:36 am »
Last month changes:

Quote
2018.04.18
+ add: event OnClickLink
+ add: OptMouseClickOpensURL
+ add: OptKeyTabIndentsVerticalBlock (default false, was true)

2018.04.13
+ add: global options for Unicode full-width chars, unit ATSynEdit_CharSizer

2018.04.08
+ add: used Hi-dpi resource icons (for foldbar context menu, for mouse middle click), by FTurtle

2018.04.07
+ add: IsCharWord() func uses UnicodeData now, works for all international letters

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #6 on: May 04, 2018, 03:26:59 pm »
Update
Implemented tooltip over folded [...] marks.
Added OptFoldTooltipVisible.
Screenshot shows it.

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #7 on: May 07, 2018, 12:03:40 am »
Update
Bookmarks have new prop: DeleteOnDelLine. Default is false: don't delete bookmark when its line is deleted.
Made for "breakpoints".

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #8 on: May 10, 2018, 11:18:53 am »
Update

Added props FontItalic, FontBold, FontBoldItalic - they are used for font styles in syntax hilited text. If they are empty- not used.
Inspired by Atom.

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #9 on: June 07, 2018, 10:20:32 pm »
Updates

added public methods:
    DoConvertTabsToSpaces
    DoConvertSpacesToTabsLeading
    BookmarkSetForLine
    BookmarkToggleForLine
    BookmarkDeleteForLine
    BookmarkDeleteAll
    BookmarkInvertAll
    BookmarkGotoNext
    BookmarkCopyMarkedLines
    BookmarkDeleteMarkedLines
    BookmarkPlaceBookmarksOnCarets
    BookmarkPlaceCaretsOnBookmarks

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #10 on: August 18, 2018, 10:45:51 am »
Last updates


2018.08.18
+ add: global vars (instead of ATStrings props):
    GlobalDetectUtf8BufferKb
    GlobalDetectUtf16BufferWords (2..80)
+ add: detection of UTF16 without BOM (LE/BE)
+ add: on folding range (DoRangeFold), caret(s) is fixed, it is was inside that range

2018.08.08
* change: now OnChange not called in LoadFromFile, makes almost no sense

2018.08.06
+ add: Bookmarks object items: added fields Tag (Int64), ShowInBookmarkList (bool)
+ add: methods Bookmark* improved for new fields
+ add: method BookmarkDeleteByTag

2018.08.03
+ add: improved RegExpr unit (similar patch is sent to FreePascal) to support all Unicode word letters in \w

2018.08.02
* deleted deprecated Strings.LinesBm[] prop

2018.07.31
- fix: bug in detecting width of Unicode chars which are "hex"
+ add: detect more Unicode chars as "hex", from Wikipedia "White space characters"

2018.07.07
+ add: commands (from CudaText):
  cCommand_FoldingFoldAtCurLine
  cCommand_FoldingUnfoldAtCurLine
  cCommand_FoldingToggleAtCurLine
 

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #11 on: September 04, 2018, 11:34:43 am »
Update

- changed storage of Bookmarks, now instead of BookmarkItem.NNN use BookmarkItem.Data.NNN

- big addon. GutterDecor object. Wiki has text about it
http://wiki.freepascal.org/ATSynEdit#GutterDecor_object
It is idea from Sublime Text which has such display of pair brackets on gutter (with plugin).
Picture from ST3

« Last Edit: September 04, 2018, 12:00:27 pm by Alextp »

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #12 on: October 09, 2018, 09:56:28 pm »
Added OptIgnoreWordChars, it is like "NumbersOnly with symbol chars too", to input numbers, eg in Go To dialog.

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #13 on: October 10, 2018, 08:41:41 am »
2018.10.10
+ add: instead of OptIgnoreWordChars, added event OnCheckInput
* removed: OptIgnoreWordChars

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • UVviewsoft
Re: ATSynEdit
« Reply #14 on: October 22, 2018, 09:15:15 pm »
Update

Reworked caret shapes. Now shapes are public props
CaretPropsNormal
CaretPropsOverwrite
CaretPropsReadonly

Deleted props:
OptCaretShapeMMMM

and - caret has props: Width, Height. In pixels or percents.
and - caret height can be >  100%. e.g 200% will paint over upper/lower lines by 50%.

Picture with caret height 300%.
« Last Edit: October 22, 2018, 09:17:13 pm by Alextp »

 

TinyPortal © 2005-2018