Changeset 350

Show
Ignore:
Timestamp:
09/14/08 06:55:03 (4 months ago)
Author:
sergey.kol..@gmail.com
Message:

Sergey Kolos:

  • Working on #50: Changed a way description is displayed in AutoEdits? preferences. Added description to color - properly adding listeners to color is too much work, so leave it for after 1.0 release.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • jasko.tim.lisp/src/jasko/tim/lisp/editors/LispConfiguration.java

    r337 r350  
    116116    } 
    117117     
    118     public String showParameterHints () { 
    119          
     118    public String showParameterHints () {        
    120119            return ca.showContextInformation();                  
    121120    } 
  • jasko.tim.lisp/src/jasko/tim/lisp/preferences/AutoEditsPreferencePage.java

    r349 r350  
    8686                removeButton.setLayoutData(data); 
    8787 
    88                 Label helpLbl = new Label(entryTable, SWT.BORDER); 
    89                 helpLbl.setText("AutoEdits allows automatic substituion as you type.\n" + 
     88                return entryTable; 
     89        } 
     90 
     91        /* 
     92         * @see IWorkbenchPreferencePage#init(IWorkbench) 
     93         */ 
     94        public void init(IWorkbench workbench) { 
     95                //Initialize the preference store we wish to use 
     96                setPreferenceStore(LispPlugin.getDefault().getPreferenceStore()); 
     97                setDescription("AutoEdits allows automatic substituion as you type.\n" + 
    9098                                "They consist of two parts: trigger and substitution.\n" + 
    9199                                "In an AutoEdit specification these parts are seperated by ';'.\n" + 
     
    97105                                "Note: AutoEdits work only in lisp code and are not triggered\n" + 
    98106                                "in comments or strings."); 
    99                 data = new GridData(GridData.FILL_BOTH); 
    100                 helpLbl.setLayoutData(data); 
    101                  
    102                  
    103                 return entryTable; 
    104         } 
    105  
    106         /* 
    107          * @see IWorkbenchPreferencePage#init(IWorkbench) 
    108          */ 
    109         public void init(IWorkbench workbench) { 
    110                 //Initialize the preference store we wish to use 
    111                 setPreferenceStore(LispPlugin.getDefault().getPreferenceStore()); 
    112107        } 
    113108 
  • jasko.tim.lisp/src/jasko/tim/lisp/preferences/ColorsPreferencePage.java

    r218 r350  
    2424        public ColorsPreferencePage() { 
    2525                super(GRID); 
    26                 setPreferenceStore(LispPlugin.getDefault().getPreferenceStore()); 
    27                 setDescription("Set colors and styles for Lisp code formatting"); 
    2826        } 
    2927         
     
    9593         */ 
    9694        public void init(IWorkbench workbench) { 
     95                setPreferenceStore(LispPlugin.getDefault().getPreferenceStore()); 
     96                setDescription("Set colors and styles for Lisp code formatting.\n" + 
     97                "To see changes - close and reopen a lisp editor."); 
    9798        } 
    9899