Search found 11 matches

by ruma1974
08.01.2020 22:27
Forum: Issues solved
Topic: [no repro] ATSynEdit: TFPSList.CheckIndex error
Replies: 11
Views: 2781

Thanks I have implemented and test the lexer and editor in the way you suggested and made several tests and I have not been able to trigger any error so far.

However, it would have been nice if I could just temporarily disable the timer while changing text.
by ruma1974
07.01.2020 07:27
Forum: Issues solved
Topic: [no repro] ATSynEdit: TFPSList.CheckIndex error
Replies: 11
Views: 2781

I use linux mint 19, Lazarus 2.1.0 and FPC 3.04. If you do not have the error then it must be related to FPC on linux mint. I just click once in the listbox and then use arrow keys to go up and down and the error occurs relatively fast (within a few seconds). You can see the video below: https://dri...
by ruma1974
06.01.2020 22:01
Forum: Issues solved
Topic: [no repro] ATSynEdit: TFPSList.CheckIndex error
Replies: 11
Views: 2781

Thanks a lot for your comments. I followed your suggestions and changed the two functions to the below code. However, I still get the procedure TFPSList.CheckIndex(AIndex : Integer);" triggered after a few clicks if I have one file above 3000 lines. procedure TForm1.ListBox1Click(Sender: TObjec...
by ruma1974
06.01.2020 15:49
Forum: Issues solved
Topic: [no repro] ATSynEdit: TFPSList.CheckIndex error
Replies: 11
Views: 2781

The program can be downloaded from below link:

https://drive.google.com/open?id=1rX-Y7 ... fpn6lRk9T4

Thanks,

Rune
by ruma1974
04.01.2020 21:05
Forum: Issues solved
Topic: [no repro] ATSynEdit: TFPSList.CheckIndex error
Replies: 11
Views: 2781

Sorry for taking a long time to reply. I had to make a simple example that reproduce the error which toke me some time since I was not sure what caused the error. I am now rather confident that the problem is related to the lexers. I made the below program using the components from CudaText. Note it...
by ruma1974
09.09.2019 13:59
Forum: Issues solved
Topic: [no repro] ATSynEdit: TFPSList.CheckIndex error
Replies: 11
Views: 2781

[no repro] ATSynEdit: TFPSList.CheckIndex error

TFPSList.CheckIndex(AIndex : Integer); ATSynEdit_fgl threw an error I am not able back track it. I searched for the problem and there was an indexed web page on this problem but the web page have been deleted. From the Google search it suggested that this error can have something to do with undo red...
by ruma1974
08.09.2019 18:03
Forum: Lexers
Topic: ATSynEdit: highlight start and end brackets
Replies: 2
Views: 1508

I ended up using method to using the add marks function because I do not fully master the lexer syntax.

Thanks,

Rune
by ruma1974
07.09.2019 16:59
Forum: Lexers
Topic: ATSynEdit: highlight start and end brackets
Replies: 2
Views: 1508

ATSynEdit: highlight start and end brackets

I am not sure if "highlighting (e.g. by bold or underline) start and end bracket/quote/parenthesis" is an option for the ATsynedit or if it can be specified in a lexer and how to do it. I did not see it implemented in any of the demos for ATsynedit nor in CudaText. I find this feature very...
by ruma1974
07.09.2019 16:50
Forum: Lexers
Topic: ATSynEdit: Assign a lexer
Replies: 6
Views: 2609

I am not sure if it is good idea but it would be nice if one could just specify a lexer directory for ATSynEdit and then the lexers auto load. However, now where I know how it works it is not a big deal to use the component as it is.

Thanks,

Rune
by ruma1974
26.08.2019 09:49
Forum: Lexers
Topic: ATSynEdit: Assign a lexer
Replies: 6
Views: 2609

Excellent, I got it working but I needed to import some units from CudaText that I guess ideally should be part of the components.

Thanks also for making ATsynedit available and for fixing demo_econtrol_lexer_lib.

best,

Rune