Diffstat (limited to 'noncore/apps/tinykate/libkate/document/katedocument.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/document/katedocument.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katedocument.h b/noncore/apps/tinykate/libkate/document/katedocument.h index 9d8ec6a..969be87 100644 --- a/noncore/apps/tinykate/libkate/document/katedocument.h +++ b/noncore/apps/tinykate/libkate/document/katedocument.h | |||
@@ -6,7 +6,7 @@ | |||
6 | (C) 2002 by Joseph Wenninger | 6 | (C) 2002 by Joseph Wenninger |
7 | email : crossfire@babylon2k.de | 7 | email : crossfire@babylon2k.de |
8 | jowenn@kde.org | 8 | jowenn@kde.org |
9 | 9 | ||
10 | ***************************************************************************/ | 10 | ***************************************************************************/ |
11 | 11 | ||
12 | /*************************************************************************** | 12 | /*************************************************************************** |
@@ -76,7 +76,7 @@ public: | |||
76 | uchar row=c.row(); | 76 | uchar row=c.row(); |
77 | short *wa=warray[row]; | 77 | short *wa=warray[row]; |
78 | if (!wa) { | 78 | if (!wa) { |
79 | // qDebug("create row: %d",row); | 79 | // odebug << "create row: " << row << oendl; |
80 | wa=warray[row]=new short[256]; | 80 | wa=warray[row]=new short[256]; |
81 | for (int i=0; i<256; i++) wa[i]=-1; | 81 | for (int i=0; i<256; i++) wa[i]=-1; |
82 | } | 82 | } |
@@ -179,7 +179,7 @@ class KateDocument: public Kate::Document | |||
179 | 179 | ||
180 | void insert_Line(const QString& s,int line=-1, bool update=true); | 180 | void insert_Line(const QString& s,int line=-1, bool update=true); |
181 | void remove_Line(int line,bool update=true); | 181 | void remove_Line(int line,bool update=true); |
182 | void replaceLine(const QString& s,int line=-1); | 182 | void replaceLine(const QString& s,int line=-1); |
183 | virtual void insertAt( const QString &s, int line, int col, bool mark = FALSE ); | 183 | virtual void insertAt( const QString &s, int line, int col, bool mark = FALSE ); |
184 | virtual void removeLine( int line ); | 184 | virtual void removeLine( int line ); |
185 | virtual int length() const; | 185 | virtual int length() const; |
@@ -534,15 +534,15 @@ class KateDocument: public Kate::Document | |||
534 | public: | 534 | public: |
535 | bool hlSetByUser; | 535 | bool hlSetByUser; |
536 | }; | 536 | }; |
537 | 537 | ||
538 | 538 | ||
539 | // BCI: Add a real d-pointer in the next BIC release | 539 | // BCI: Add a real d-pointer in the next BIC release |
540 | static QPtrDict<KateDocPrivate>* d_ptr; | 540 | static QPtrDict<KateDocPrivate>* d_ptr; |
541 | static void cleanup_d_ptr() | 541 | static void cleanup_d_ptr() |
542 | { | 542 | { |
543 | delete d_ptr; | 543 | delete d_ptr; |
544 | } | 544 | } |
545 | 545 | ||
546 | KateDocPrivate* d( const KateDocument* foo ) | 546 | KateDocPrivate* d( const KateDocument* foo ) |
547 | { | 547 | { |
548 | if ( !d_ptr ) { | 548 | if ( !d_ptr ) { |
@@ -556,7 +556,7 @@ KateDocPrivate* d( const KateDocument* foo ) | |||
556 | } | 556 | } |
557 | return ret; | 557 | return ret; |
558 | } | 558 | } |
559 | 559 | ||
560 | void delete_d( const KateDocument* foo ) | 560 | void delete_d( const KateDocument* foo ) |
561 | { | 561 | { |
562 | if ( d_ptr ) | 562 | if ( d_ptr ) |