Преглед на файлове

All source files now have their LineStartList.

git-svn-id: file:///var/svn/tigccpp/trunk@619 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler преди 18 години
родител
ревизия
0e50e3c77a
променени са 3 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 1 0
      ktigcc/mainform.ui.h
  2. 2 0
      ktigcc/srcfile.h
  3. 2 0
      ktigcc/tpr.h

+ 1 - 0
ktigcc/mainform.ui.h

@@ -279,6 +279,7 @@ class ListViewFile : public KListViewItem {
   QString textBuffer; // for lazy loading
   QString fileName; // full name of the file
   bool isNew;
+  LineStartList lineStartList;
   // Work around gratuitous API difference. Why do I have to do this? That's
   // what startRename is a virtual method for. KListViewItem should do this.
   virtual void startRename(int col)

+ 2 - 0
ktigcc/srcfile.h

@@ -20,6 +20,7 @@
 
 #pragma once
 
+#include "tpr.h"
 #include "srcfilewin.h"
 
 #include <qstring.h>
@@ -52,6 +53,7 @@ struct SourceFile : public SourceFileWindow {
   void *category;
   bool isCFile;
   bool isASMFile;
+  LineStartList lineStartList;
 
   KReplaceWithSelectionS *kreplace;
   Kate::View *kateView;

+ 2 - 0
ktigcc/tpr.h

@@ -21,6 +21,8 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
 */
 
+#pragma once
+
 class KURL;
 #include <qstring.h>
 #include <qstringlist.h>