~ubuntu-branches/ubuntu/maverick/codelite/maverick

« back to all changes in this revision

Viewing changes to sdk/wxscintilla/src/scintilla/include/Scintilla.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-07-29 19:42:47 UTC
  • mfrom: (1.1.9 upstream) (18.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100729194247-cuibfk03wog33nxq
Tags: 2.6.0.4189~dfsg-1
* New upstream release.
* Bump Standards.
* Refresh patches.
* Add license information about files under ./Debugger/

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#ifndef SCINTILLA_H
12
12
#define SCINTILLA_H
13
13
 
14
 
#if LCCWIN
15
 
typedef BOOL bool;
16
 
#endif
17
 
 
18
14
#ifdef __cplusplus
19
15
extern "C" {
20
16
#endif
21
17
 
22
 
#if PLAT_WIN
 
18
#if defined(_WIN32)
23
19
/* Return false on failure: */
24
 
bool Scintilla_RegisterClasses(void *hInstance);
25
 
bool Scintilla_ReleaseResources();
 
20
int Scintilla_RegisterClasses(void *hInstance);
 
21
int Scintilla_ReleaseResources();
26
22
#endif
27
23
int Scintilla_LinkLexers();
28
24
 
412
408
#define SCI_VISIBLEFROMDOCLINE 2220
413
409
#define SCI_DOCLINEFROMVISIBLE 2221
414
410
#define SCI_WRAPCOUNT 2235
 
411
//ERAN IFRAH
 
412
#define SCI_CALLTIPSHOWEXT 22250
 
413
// END
415
414
#define SC_FOLDLEVELBASE 0x400
416
415
#define SC_FOLDLEVELWHITEFLAG 0x1000
417
416
#define SC_FOLDLEVELHEADERFLAG 0x2000
491
490
#define SC_EFF_QUALITY_LCD_OPTIMIZED 3
492
491
#define SCI_SETFONTQUALITY 2611
493
492
#define SCI_GETFONTQUALITY 2612
 
493
#define SCI_SETFIRSTVISIBLELINE 2613
 
494
#define SC_MULTIPASTE_ONCE 0
 
495
#define SC_MULTIPASTE_EACH 1
 
496
#define SCI_SETMULTIPASTE 2614
 
497
#define SCI_GETMULTIPASTE 2615
 
498
#define SCI_GETTAG 2616
494
499
#define SCI_TARGETFROMSELECTION 2287
495
500
#define SCI_LINESJOIN 2288
496
501
#define SCI_LINESSPLIT 2289
906
911
#define TextRange Sci_TextRange
907
912
#define TextToFind Sci_TextToFind
908
913
 
909
 
#ifdef PLATFORM_H
 
914
typedef void *Sci_SurfaceID;
 
915
 
 
916
struct Sci_Rectangle {
 
917
        int left;
 
918
        int top;
 
919
        int right;
 
920
        int bottom;
 
921
};
910
922
 
911
923
/* This structure is used in printing and requires some of the graphics types
912
924
 * from Platform.h.  Not needed by most client code. */
913
925
 
914
926
struct Sci_RangeToFormat {
915
 
        SurfaceID hdc;
916
 
        SurfaceID hdcTarget;
917
 
        PRectangle rc;
918
 
        PRectangle rcPage;
919
 
        Sci_CharacterRange chrg;
 
927
        Sci_SurfaceID hdc;
 
928
        Sci_SurfaceID hdcTarget;
 
929
        struct Sci_Rectangle rc;
 
930
        struct Sci_Rectangle rcPage;
 
931
        struct Sci_CharacterRange chrg;
920
932
};
921
933
 
922
934
#define RangeToFormat Sci_RangeToFormat
923
935
 
924
 
#endif
925
 
 
926
936
struct Sci_NotifyHeader {
927
937
        /* Compatible with Windows NMHDR.
928
938
         * hwndFrom is really an environment specific window handle or pointer