close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#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 21 years ago by manuelb

Status: newassigned

comment:2 Changed 21 years ago by manuelb

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.

comment:3 Changed 21 years ago by manuelb

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 21 years ago by manuelb

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 21 years ago by manuelb

Summary: Text code hoghlighting in TolBase EditorText code highlighting in TolBase Editor

comment:6 Changed 21 years ago by manuelb

Resolution: fixed
Status: assignedclosed

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 manuelb

blocked: 111
Note: See TracTickets for help on using tickets.