Been working on this for days with no relief in sight.
Mostly plegiarizing Alextp's demo_editor, I have built "my own" editor that I wish to specialize for another use.
I put the AtSynedit in a frame and placed the frame on a TPanel; this whole apparatus controlled via a TATTabs component.
The application will handle 'n' files and a TXMLPropStorage component provides persistency between executions.
I actually had most of this working once but I have broken it.
After recovering the data from the TXMLPropStorage component and building all the frames with AtSynEdit with an open file,...
This is the stack trace.
Program exception!
Stacktrace:
Exception class: EAccessViolation
Message: Access violation
$00000001003059B8 FINDDEEPESTRANGECONTAININGLINE, line 538 of atsynedit_ranges.pas
$000000010025C268 DOPAINTGUTTERFOLDING, line 7311 of atsynedit.pas
$00000001002510B8 DOPAINTGUTTEROFLINE, line 3670 of atsynedit.pas
$000000010024F429 DOPAINTTEXT, line 3035 of atsynedit.pas
$000000010024E873 DOPAINTMAIN, line 2788 of atsynedit.pas
$0000000100254C87 DOPAINTALL, line 4833 of atsynedit.pas
$0000000100254DFF DOPAINT, line 4863 of atsynedit.pas
$000000010025515C PAINTEX, line 4967 of atsynedit.pas
$00000001002550BB PAINT, line 4941 of atsynedit.pas
$00000001000D4302 PAINTWINDOW, line 118 of include/customcontrol.inc
$00000001000BE22F PAINTHANDLER, line 4840 of include/wincontrol.inc
$00000001000C2035 WMPAINT, line 6827 of include/wincontrol.inc
$00000001000D4217 WMPAINT, line 98 of include/customcontrol.inc
$000000010000FEF1
$00000001000CB191 WNDPROC, line 2236 of include/control.inc
$00000001000BF549 WNDPROC, line 5411 of include/wincontrol.inc
$00000001001F6B09 DELIVERMESSAGE, line 112 of lclmessageglue.pas
WARNING: TATSynEdit.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?
I have run out of debugging expertise. I might have a better chance if I could get a stack trace of the events between the end of my initialize frames method and this and have had no luck in discovering that.
Thanks in advance.