~ubuntu-branches/debian/sid/latexdraw/sid

« back to all changes in this revision

Viewing changes to latexDraw/ui/codeEditorPane/AbstractCodeEditorPane.java

  • Committer: Bazaar Package Importer
  • Author(s): Stuart Prescott
  • Date: 2009-07-15 23:35:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090715233552-2bblktyf2lmrkyo3
Tags: 2.0.3+1-1
* New upstream release.
* Add additional Recommended packages for new export features.
* Fix typo in long description, with thanks to Kai Weber (Closes: #529195).
* Bump standards to 3.8.2 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
        
145
145
        
146
146
        /**
 
147
         * @param withLatexParams True: latex parameters (position, caption, etc.) are added
 
148
         * to the code.
 
149
         * @param withComments True: comments are added to the code.
 
150
         * @return The generated code.
 
151
         * @since 2.0.3
 
152
         */
 
153
        public abstract String getCode(boolean withLatexParams, boolean withComments);
 
154
        
 
155
        
 
156
        /**
147
157
         * Update the text of the panel.
148
158
         */
149
 
        public abstract void updateText();
 
159
        public void updateText()
 
160
        {
 
161
                setText(getCode(true, true));
 
162
        }
150
163
        
151
164
        
152
165