RamonUnch / GreenPad

Fork from roytam1 fork from original GreenPad
21 stars 0 forks source link

Fix multi-line comment when start and end strings are the same. #172

Closed RamonUnch closed 9 months ago

RamonUnch commented 9 months ago

Basically we must modify the CommentDFA::tr_table so that when we are in a multi-line comment , then a begin-comment also ends the comment.

The only issue is that the end comment string is not colored itself. better than having the whole file getting quoted out though.