~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/include/editorbase.h

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
          * @return True on success, false otherwise. */
112
112
        virtual bool Save() { return true; }
113
113
 
 
114
        /** @brief Save editor contents under a different filename.
 
115
          *
 
116
          * Save editor contents under a different filename.
 
117
          * The default implementation does nothing and returns true.
 
118
          * @return True on success, false otherwise. */
 
119
        virtual bool SaveAs() { return true; }
 
120
 
114
121
        /** @brief Is this a built-in editor?
115
122
          *
116
123
          * Query if this is a built-in editor (a.k.a cbEditor).
209
216
        /** Redo changes. */
210
217
        virtual void Redo(){}
211
218
 
 
219
        /** Clear Undo- (and Changebar-) history */
 
220
        virtual void ClearHistory(){}
 
221
 
 
222
        /** Goto next changed line */
 
223
        virtual void GotoNextChanged(){}
 
224
 
 
225
        /** Goto previous changed line */
 
226
        virtual void GotoPreviousChanged(){}
 
227
 
 
228
        /** Enable or disable changebar */
 
229
        virtual void SetChangeCollection(bool collectChange){}
 
230
 
212
231
        /** Cut selected text/object to clipboard. */
213
232
        virtual void Cut(){}
214
233
 
247
266
          * @return True if the editor is read-only, false if not.
248
267
          */
249
268
        virtual bool IsReadOnly() const { return false; }
 
269
 
 
270
        /** Can the editor select everything?
 
271
          *
 
272
          * @return True if the editor can select all content, false if not.
 
273
          */
 
274
        virtual bool CanSelectAll() const { return false; }
 
275
 
 
276
        /** Select everything in the editor
 
277
          */
 
278
        virtual void SelectAll() { return; }
 
279
 
 
280
        /** Is there a context (right click) menu open
 
281
          *
 
282
          * @return True if a context menu is open, false if not.
 
283
          */
 
284
        virtual bool IsContextMenuOpened() const;
250
285
    protected:
251
286
        /** Initializes filename data.
252
287
          * @param filename The editor's filename for initialization.