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

« back to all changes in this revision

Viewing changes to src/sdk/wxscintilla/src/scintilla/src/DocumentAccessor.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:
6
6
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
7
7
// The License.txt file describes the conditions under which this software may be distributed.
8
8
 
 
9
#ifdef SCI_NAMESPACE
 
10
namespace Scintilla {
 
11
#endif
 
12
 
9
13
class Document;
10
14
 
11
15
/**
12
16
 */
 
17
 
13
18
class DocumentAccessor : public Accessor {
14
19
        // Private so DocumentAccessor objects can not be copied
15
 
        DocumentAccessor(const DocumentAccessor &source) : Accessor(), props(source.props) {}
16
 
        DocumentAccessor &operator=(const DocumentAccessor &) { return *this; }
 
20
        DocumentAccessor(const DocumentAccessor &source);
 
21
        DocumentAccessor &operator=(const DocumentAccessor &);
17
22
 
18
23
protected:
19
24
        Document *pdoc;
20
 
        PropSet &props;
 
25
        PropertyGet &props;
21
26
        WindowID id;
22
27
        int lenDoc;
23
28
 
33
38
        void Fill(int position);
34
39
 
35
40
public:
36
 
        DocumentAccessor(Document *pdoc_, PropSet &props_, WindowID id_=0) : 
 
41
        DocumentAccessor(Document *pdoc_, PropertyGet &props_, WindowID id_=0) : 
37
42
                Accessor(), pdoc(pdoc_), props(props_), id(id_),
38
43
                lenDoc(-1), validLen(0), chFlags(0), chWhile(0), 
39
44
                startSeg(0), startPosStyling(0),
64
69
        void ColourTo(unsigned int pos, int chAttr);
65
70
        void SetLevel(int line, int level);
66
71
        int IndentAmount(int line, int *flags, PFNIsCommentLeader pfnIsCommentLeader = 0);
 
72
        void IndicatorFill(int start, int end, int indicator, int value);
67
73
};
 
74
 
 
75
#ifdef SCI_NAMESPACE
 
76
}
 
77
#endif