~ubuntu-branches/ubuntu/quantal/kate/quantal-proposed

« back to all changes in this revision

Viewing changes to part/document/katedocument.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-14 13:28:06 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: package-import@ubuntu.com-20111214132806-aa2uf6ri5w2p8ak3
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
#include "katetextline.h"
48
48
#include "katetextcursor.h"
49
49
#include "katetextrange.h"
 
50
#include "katecodefolding.h"
50
51
 
51
52
namespace KTextEditor {
52
53
  class Plugin;
69
70
 
70
71
class KateAutoIndent;
71
72
 
 
73
 
72
74
//
73
75
// Kate KTextEditor::Document class (and even KTextEditor::Editor ;)
74
76
//
489
491
  //
490
492
  public Q_SLOTS:
491
493
    bool printDialog ();
492
 
    bool print ();
 
494
    Q_SCRIPTABLE bool print ();
493
495
 
494
496
  //
495
497
  // KTextEditor::DocumentInfoInterface ( ### unfinished )
813
815
 
814
816
    void setDocName (const QString &docName);
815
817
 
816
 
    void lineInfo (KateLineInfo *info, unsigned int line);
 
818
    void lineInfo (KateLineInfo *info, int line) const;
817
819
 
818
820
    KateCodeFoldingTree *foldingTree ();
819
821
 
1161
1163
    Kate::SwapFile *m_swapfile;
1162
1164
  public:
1163
1165
    Kate::SwapFile* swapFile();
 
1166
    
 
1167
  //helpers for scripting and codefolding
 
1168
    int defStyleNum(int line, int column);
 
1169
    bool isComment(int line, int column);
 
1170
 
1164
1171
};
1165
1172
 
1166
1173
#endif