~ubuntu-branches/ubuntu/wily/geany/wily

« back to all changes in this revision

Viewing changes to scintilla/lexlib/Accessor.h

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2011-12-10 07:43:26 UTC
  • mfrom: (3.3.7 sid)
  • Revision ID: package-import@ubuntu.com-20111210074326-s8yqbew5i20h33tf
Tags: 0.21-1ubuntu1
* Merge from Debian Unstable, remaining changes:
  - debian/patches/20_use_evince_viewer.patch:
     + use evince as viewer for pdf and dvi files
  - debian/patches/20_use_x_terminal_emulator.patch:
     + use x-terminal-emulator as terminal
  - debian/control
     + Add breaks on geany-plugins-common << 0.20
* Also fixes bugs:
  - Filter for MATLAB/Octave files filters everythign (LP: 885505)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Scintilla source code edit control
 
2
/** @file Accessor.h
 
3
 ** Interfaces between Scintilla and lexers.
 
4
 **/
 
5
// Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
 
6
// The License.txt file describes the conditions under which this software may be distributed.
 
7
 
 
8
#ifndef ACCESSOR_H
 
9
#define ACCESSOR_H
 
10
 
 
11
#ifdef SCI_NAMESPACE
 
12
namespace Scintilla {
 
13
#endif
 
14
 
 
15
enum { wsSpace = 1, wsTab = 2, wsSpaceTab = 4, wsInconsistent=8};
 
16
 
 
17
class Accessor;
 
18
class WordList;
 
19
class PropSetSimple;
 
20
 
 
21
typedef bool (*PFNIsCommentLeader)(Accessor &styler, int pos, int len);
 
22
 
 
23
class Accessor : public LexAccessor {
 
24
public:
 
25
        PropSetSimple *pprops;
 
26
        Accessor(IDocument *pAccess_, PropSetSimple *pprops_);
 
27
        int GetPropertyInt(const char *, int defaultValue=0);
 
28
        int IndentAmount(int line, int *flags, PFNIsCommentLeader pfnIsCommentLeader = 0);
 
29
};
 
30
 
 
31
#ifdef SCI_NAMESPACE
 
32
}
 
33
#endif
 
34
 
 
35
#endif