List Info

Thread: RE: Adding custom underlines in the PDT editor




RE: Adding custom underlines in the PDT editor
country flaguser name
Israel
2007-08-14 09:45:28
Hi William,
On every user typing (actually on every few types) we run a
process that
parses our files, finds the syntax errors and adds
annotations to the
files.
(Look at
org.eclipse.php.internal.ui.editor.validation.PHPHTMLValidat
or
function called fileDataChanged)
Currently we are using our own scheduler to activate this
process but we
are now working on using the reconciling mechanism.
Another process is using the builders mechanism (on every
file save or
rebuild) this process adds Markers to the files.
(org.eclipse.php.internal.core.documentModel.validate.PHPPro
blemsValidat
or)

Hope it helps.

Guy Gurfinkel,
Team Leader, Development Tools
Zend.

-----Original Message-----
From: pdt-dev-bounceseclipse.org [mailto:pdt-dev-bounceseclipse.org]
On Behalf Of William Candillon
Sent: Tuesday, August 14, 2007 1:43 PM
To: PDT Developers
Subject: [pdt-dev] Adding custom underlines in the PDT
editor

Hello,

The red underlines marking errors in the PDT editor seem to
be
independent of the builders defined in the php project
(there is still
red underlines marking errors even if I disable all
builders.
Can someone give me more information about how things work
behind the
scene ?

I would like to know that in order to add/remove my own
underline
markers.

Best regards,

William

-- 
William Candillon
http://phpaspect.org
_______________________________________________
pdt-dev mailing list
pdt-deveclipse.org
http
s://dev.eclipse.org/mailman/listinfo/pdt-dev

_______________________________________________
pdt-dev mailing list
pdt-deveclipse.org
http
s://dev.eclipse.org/mailman/listinfo/pdt-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )