Kate
katescriptview.cpp
Go to the documentation of this file.00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 #include "katescriptview.h" 00021 00022 #include "katedocument.h" 00023 #include "kateview.h" 00024 #include "katerenderer.h" 00025 #include "katehighlight.h" 00026 #include "katescript.h" 00027 00028 KateScriptView::KateScriptView(QObject *parent) 00029 : QObject(parent), m_view(0) 00030 { 00031 } 00032 00033 void KateScriptView::setView (KateView *view) 00034 { 00035 m_view = view; 00036 } 00037 00038 KateView *KateScriptView::view() 00039 { 00040 return m_view; 00041 } 00042 00043 KTextEditor::Cursor KateScriptView::cursorPosition () 00044 { 00045 return m_view->cursorPosition(); 00046 } 00047 00048 // kate: space-indent on; indent-width 2; replace-tabs on; 00049