From: gtonic Date: Wed, 31 Jul 2002 14:10:44 +0000 (+0000) Subject: minor changes, added some comments X-Git-Url: http://git.phpeclipse.com minor changes, added some comments --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/IPHPColorConstants.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/IPHPColorConstants.java index e68c89c..1310050 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/IPHPColorConstants.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/IPHPColorConstants.java @@ -2,6 +2,8 @@ package net.sourceforge.phpeclipse.editors; import org.eclipse.swt.graphics.RGB; +//todo: make the colors configurable + public interface IPHPColorConstants { RGB XML_COMMENT = new RGB(128, 0, 0); RGB PROC_INSTR = new RGB(128, 128, 128); diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/PHPEditor.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/PHPEditor.java index a90cead..4374413 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/PHPEditor.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/PHPEditor.java @@ -6,7 +6,7 @@ public class PHPEditor extends TextEditor { private ColorManager colorManager; /** - * Constructor for SampleEditor. + * Constructor for PHPEditor. */ public PHPEditor() { super(); diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/WordDetector.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/WordDetector.java index d3b1d73..b84b6cf 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/WordDetector.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/editors/WordDetector.java @@ -8,7 +8,8 @@ import org.eclipse.jface.text.rules.IWordDetector; * @author Igor Malinin */ -/* detection des mots pour la gestion des couleurs +/** + * detects the keywords and highlights them * Dans PHPScanner.java * */