|
From: <ce...@us...> - 2004-01-12 13:56:11
|
Update of /cvsroot/csseditor/net.sourceforge.csseditor/src/net/sourceforge/csseditor/internal/text
In directory sc8-pr-cvs1:/tmp/cvs-serv11041/src/net/sourceforge/csseditor/internal/text
Modified Files:
CssContentAssistProcessor.java
Log Message:
Remove unneeded this qualifiers
Index: CssContentAssistProcessor.java
===================================================================
RCS file: /cvsroot/csseditor/net.sourceforge.csseditor/src/net/sourceforge/csseditor/internal/text/CssContentAssistProcessor.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** CssContentAssistProcessor.java 14 Dec 2003 21:59:54 -0000 1.1.1.1
--- CssContentAssistProcessor.java 12 Jan 2004 13:56:08 -0000 1.2
***************
*** 115,120 ****
retVal = proposeProperties(document, documentOffset, prefix);
}
! if ((this.store != null)
! && this.store.getBoolean(ORDER_PROPOSALS)) {
sortProposals(retVal);
}
--- 115,119 ----
retVal = proposeProperties(document, documentOffset, prefix);
}
! if ((store != null) && store.getBoolean(ORDER_PROPOSALS)) {
sortProposals(retVal);
}
***************
*** 139,143 ****
*/
public char[] getCompletionProposalAutoActivationCharacters() {
! String chars = this.store.getString(AUTOACTIVATION_TRIGGERS);
if (chars == null) {
return null;
--- 138,142 ----
*/
public char[] getCompletionProposalAutoActivationCharacters() {
! String chars = store.getString(AUTOACTIVATION_TRIGGERS);
if (chars == null) {
return null;
***************
*** 209,217 ****
*/
private IStyleSheet getStyleSheet() {
! if (this.editor != null) {
! IDocumentProvider provider = this.editor.getDocumentProvider();
if (provider instanceof CssDocumentProvider) {
return ((CssDocumentProvider) provider).getStyleSheet(
! this.editor.getEditorInput());
}
}
--- 208,216 ----
*/
private IStyleSheet getStyleSheet() {
! if (editor != null) {
! IDocumentProvider provider = editor.getDocumentProvider();
if (provider instanceof CssDocumentProvider) {
return ((CssDocumentProvider) provider).getStyleSheet(
! editor.getEditorInput());
}
}
***************
*** 321,325 ****
Image icon = CssEditorPlugin.getDefault().getImageRegistry().get(
CssEditorPlugin.ICON_AT_RULE);
! Collection atRuleNames = this.profile.getAtKeywords();
for (Iterator i = atRuleNames.iterator(); i.hasNext(); ) {
String atRuleName = (String) i.next();
--- 320,324 ----
Image icon = CssEditorPlugin.getDefault().getImageRegistry().get(
CssEditorPlugin.ICON_AT_RULE);
! Collection atRuleNames = profile.getAtKeywords();
for (Iterator i = atRuleNames.iterator(); i.hasNext(); ) {
String atRuleName = (String) i.next();
***************
*** 357,367 ****
CssEditorPlugin.getDefault().getImageRegistry().get(
CssEditorPlugin.ICON_SHORTHAND);
! Collection propertyNames = this.profile.getProperties();
for (Iterator i = propertyNames.iterator(); i.hasNext(); ) {
String propertyName = (String) i.next();
if (propertyName.startsWith(prefix)) {
Image icon = propertyIcon;
! IPropertyInfo info =
! this.profile.getPropertyInfo(propertyName);
if (info.isShorthand()) {
icon = shorthandIcon;
--- 356,365 ----
CssEditorPlugin.getDefault().getImageRegistry().get(
CssEditorPlugin.ICON_SHORTHAND);
! Collection propertyNames = profile.getProperties();
for (Iterator i = propertyNames.iterator(); i.hasNext(); ) {
String propertyName = (String) i.next();
if (propertyName.startsWith(prefix)) {
Image icon = propertyIcon;
! IPropertyInfo info = profile.getPropertyInfo(propertyName);
if (info.isShorthand()) {
icon = shorthandIcon;
***************
*** 391,395 ****
Image icon = CssEditorPlugin.getDefault().getImageRegistry().get(
CssEditorPlugin.ICON_PSEUDO_CLASS);
! Collection pseudoClassNames = this.profile.getPseudoClassNames();
for (Iterator i = pseudoClassNames.iterator(); i.hasNext(); ) {
String pseudoClassName = (String) i.next();
--- 389,393 ----
Image icon = CssEditorPlugin.getDefault().getImageRegistry().get(
CssEditorPlugin.ICON_PSEUDO_CLASS);
! Collection pseudoClassNames = profile.getPseudoClassNames();
for (Iterator i = pseudoClassNames.iterator(); i.hasNext(); ) {
String pseudoClassName = (String) i.next();
|