~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/codesnippets/editor/prefs.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
    //////////////////////////////////////////////////////////////////////////////
 
2
// File:        prefs.h
 
3
// Purpose:     preferences initialization
 
4
// Maintainer:  Pecan
 
5
// Created:     Otto Wyss 2003-09-01
 
6
// Copyright:   (c) 2004 wxCode
 
7
// Licence:     wxWindows
 
8
//////////////////////////////////////////////////////////////////////////////
 
9
 
 
10
#ifndef _PREFS_H_
 
11
#define _PREFS_H_
 
12
 
 
13
//----------------------------------------------------------------------------
 
14
// information
 
15
//----------------------------------------------------------------------------
 
16
/*
 
17
        This file is part of Code Snippets, a plugin for Code::Blocks
 
18
        Copyright (C) 2006 Arto Jonsson
 
19
        Copyright (C) 2007 Pecan Heber
 
20
 
 
21
        This program is free software; you can redistribute it and/or
 
22
        modify it under the terms of the GNU General Public License
 
23
        as published by the Free Software Foundation; either version 2
 
24
        of the License, or (at your option) any later version.
 
25
 
 
26
        This program is distributed in the hope that it will be useful,
 
27
        but WITHOUT ANY WARRANTY; without even the implied warranty of
 
28
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
29
        GNU General Public License for more details.
 
30
 
 
31
        You should have received a copy of the GNU General Public License
 
32
        along with this program; if not, write to the Free Software
 
33
        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
34
*/
 
35
// RCS-ID: $Id: prefs.h 7443 2011-09-01 16:29:16Z mortenmacfly $
 
36
 
 
37
 
 
38
//----------------------------------------------------------------------------
 
39
// headers
 
40
//----------------------------------------------------------------------------
 
41
 
 
42
//! wxWindows headers
 
43
 
 
44
//! wxScintilla headers
 
45
#include <wx/wxscintilla.h>  // scintilla edit control
 
46
 
 
47
//! application headers
 
48
#include "defsext.h"
 
49
 
 
50
//----------------------------------------------------------------------------
 
51
// CommonInfo
 
52
//----------------------------------------------------------------------------
 
53
 
 
54
struct CommonInfo {
 
55
    // editor functionality prefs
 
56
    bool syntaxEnable;
 
57
    bool foldEnable;
 
58
    bool indentEnable;
 
59
    // display defaults prefs
 
60
    bool readOnlyInitial;
 
61
    bool overTypeInitial;
 
62
    bool wrapModeInitial;
 
63
    bool displayEOLEnable;
 
64
    bool indentGuideEnable;
 
65
    bool lineNumberEnable;
 
66
    bool longLineOnEnable;
 
67
    bool whiteSpaceEnable;
 
68
};
 
69
extern const CommonInfo g_CommonPrefs;
 
70
 
 
71
#endif // _PREFS_H_