#21 closed defect (fixed)
Text code highlighting in TolBase Editor
| Reported by: | manuelb | Owned by: | manuelb |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Interface | Version: | head |
| Severity: | minor | Keywords: | |
| Cc: |
Description
(From the old tol forums)
Does not work correctly:
Text txt01 = "Hola hola";
Regards.
Change History (7)
comment:1 Changed 22 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 22 years ago by
comment:3 Changed 22 years ago by
Seems that the new version of ctext works well, some bugs fixed, and seems a
bit faster, but had to adecuate the code to fix our TolBase needs.
By now the only missing functionality is multiple-line quotation.
I have to hack "a bit" the ctext code, should be working soon.
comment:4 Changed 22 years ago by
OK, the problem is solved, but will not update the changes made to the cvs
until a much more complicated one is solved:
When using Quotes, if more than one line is quoted, then no highlight is done
at all.
For example:
Text line = "this is a text line";
Works ok, but:
Text multipleLine = " select *
from table
where this = that";
Does NOT work.
comment:5 Changed 22 years ago by
| Summary: | Text code hoghlighting in TolBase Editor → Text code highlighting in TolBase Editor |
|---|
comment:6 Changed 22 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
OK, the solution has come. It is in the CVS by now.
A little tweak on ctext has been done and works ok.
Some other highlighting-related bugs have been fixed, like:
/* Comment line /* end comment*/
There is, however, a bug to solve. See the next line of code:
WriteLn ("Text line ." + textVariable);
|
+--> From here on, blue highlight is done. Wrong!
Regards.
comment:7 Changed 21 years ago by
| blocked: | → 111 |
|---|

We are currently making use of the ctext library by George Peter Staplin(Check
http://www.xmission.com/~georgeps/ctext/)
We use ctext version 2.6.10, but there is currently a newer one.
Since we need to modify the library for our needs, a checking is beeing done
to clarify if we actually get improvements from the new version. Else, will
nedd to fix or update it by ourselves.