Forum > Third party
ATSynEdit: cooking feature
AlexTP:
The Brackets app has such feature, inline editors -
https://www.andrewmunsell.com/wp-content/uploads/2015/06/04.png
Cannot do it now, but made step to it. this is feature in ATSynEdit, gaps.
Picture in attach.
The doc about gaps is here, describes some details about it -
http://wiki.freepascal.org/ATSynEdit#Gaps_object
The code in trunk has it (at GH)
I want to use it, to preview pictures in my app, as small reduced pic.
AlexTP:
Update.
Finder class (for ATSynEdit) now extended -
- supports option InSelection (do the find/replace only in selection)
- and now this InSelection opt extended. It now supports several selections - for carets,
which have selections. This supported for Count-all, Mark-all, Replace-all.
- for Find its not needed to support InSelection, coz FindNext does selection of found text;
so smaller selection made, so InSelection cannot work
AlexTP:
Update
now mouse clicks are configurable via array of actions.
Click, Shift-click, Ctrl-click, Ctrl+Shift-click, middle click, right click.
In code config filled in InitMouseActions() like this--
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} --- Add(cMouseActionClickSimple, [ssLeft]); Add(cMouseActionClickSimple, [ssLeft, ssAlt]); Add(cMouseActionClickSimple, [ssLeft, ssAltGr]); Add(cMouseActionClickRight, [ssRight]); Add(cMouseActionClickAndSelBlock, [ssLeft, ssShift]); Add(cMouseActionMakeCaret, [ssLeft, ssXControl]); Add(cMouseActionMakeCaretsColumn, [ssLeft, ssXControl, ssShift]); Add(cMouseActionNiceScrolling, [ssMiddle]);end;
AlexTP:
Update
2 new properties added
- OptMouseDragDropCopying - allow to copy with dragdrop with Ctrl key
- OptMouseDragDropCopyingWithState - key which does copy, e.g. ssCtrl/ssAlt
AlexTP:
Update.
Finder class very much optimized. Now mass-find and mass-replace do 2 stages:
1) DoCollect methods collect all matches to list. they can also show replace-confirm for mass-replace.
2) Operation takes resulting list. Mass-replace reads list from end to begin and does mass-replace in one go. w/o updating buffers.
So mass-replace works 3 seconds instead of 70 seconds before (on big test file).
Navigation
[0] Message Index
[#] Next page