From 85672973381c22db9673007f605ebd2aa8067c41 Mon Sep 17 00:00:00 2001 From: gtonic Date: Wed, 31 Jul 2002 14:10:44 +0000 Subject: [PATCH] minor changes, added some comments --- .../phpeclipse/editors/IPHPColorConstants.java | 2 ++ .../sourceforge/phpeclipse/editors/PHPEditor.java | 2 +- .../phpeclipse/editors/WordDetector.java | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) 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 * */ -- 1.7.1