Add support to multi-line quotes into AkelEdit

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 1
Joined: Thu Jul 14, 2022 2:25 pm

Add support to multi-line quotes into AkelEdit

Post by Buggie »

Please, add support for multi-line quotes for AkelEdit.

Currently I do next changes:
AkelEdit.h:515

Code: Select all

#define AEHLF_QUOTEMULTILINE         0x00040000  //Quote multi-lined.
AkelEdit.c:11390

Code: Select all

      if (ciCount.lpLine->nLineBreak == AELB_WRAP || (qm->lpQuote && (qm->lpQuote->dwFlags & AEHLF_QUOTEMULTILINE)))
        AEC_NextLine(&ciCount);
      else
        break;
This help in some cases, but look like in some cases lines loaded only partially, so highlight work only for part multi-line quote, until not click in it or below.

Possible need make some additional changes for fix this.

This feature very useful for use on multi-line comments like "/* text */".
OFC this can be apply via Fold, but this require constantly reparse text on client side and (not sure) build own parser for follow internal depth of quotes.

So better make few small changes (if possible) and improve AkelEdit.
Post Reply