#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/document/katedocument.h>
Inheritance diagram for KateDocument:


Public Types | |
| enum | Eol_settings { eolUnix = 0, eolDos = 1, eolMacintosh = 2 } |
Public Slots | |
| virtual void | setText (const QString &) |
| void | reloadFile () |
| void | flush () |
| void | applyWordWrap () |
Signals | |
| void | selectionChanged () |
| void | highlightChanged () |
| void | modifiedChanged () |
| void | preHighlightChanged (long) |
| void | modStateChanged (KateDocument *doc) |
| void | nameChanged (KateDocument *doc) |
| void | fileNameChanged () |
Public Member Functions | |
| KateDocument (bool bSingleViewMode=false, bool bBrowserView=false, QWidget *parentWidget=0, const char *widgetName=0, QObject *=0, const char *=0) | |
| ~KateDocument () | |
| void | setFont (QFont font) |
| QFont | getFont () |
| CachedFontMetrics | getFontMetrics () |
| virtual bool | saveFile () |
| virtual KTextEditor::View * | createView (QWidget *parent, const char *name) |
| virtual QString | textLine (int line) const |
| virtual void | insertLine (const QString &s, int line=-1) |
| void | insert_Line (const QString &s, int line=-1, bool update=true) |
| void | remove_Line (int line, bool update=true) |
| void | replaceLine (const QString &s, int line=-1) |
| virtual void | insertAt (const QString &s, int line, int col, bool mark=FALSE) |
| virtual void | removeLine (int line) |
| virtual int | length () const |
| virtual void | setSelection (int row_from, int col_from, int row_to, int col_t) |
| virtual bool | hasSelection () const |
| virtual QString | selection () const |
| virtual int | numLines () const |
| int | lastLine () const |
| TextLine::Ptr | getTextLine (int line) const |
| int | textLength (int line) |
| void | setTabWidth (int) |
| int | tabWidth () |
| void | setReadOnly (bool) |
| bool | isReadOnly () const |
| void | setNewDoc (bool) |
| bool | isNewDoc () const |
| virtual void | setReadWrite (bool) |
| virtual bool | isReadWrite () const |
| virtual void | setModified (bool) |
| virtual bool | isModified () const |
| void | setSingleSelection (bool ss) |
| bool | singleSelection () |
| void | readConfig () |
| void | writeConfig () |
| void | readSessionConfig (KateConfig *) |
| void | writeSessionConfig (KateConfig *) |
| bool | hasBrowserExtension () const |
| Highlight * | highlight () |
| int | highlightNum () |
| int | numAttribs () |
| Attribute * | attribs () |
| void | setDontChangeHlOnSave () |
| virtual void | addView (KTextEditor::View *) |
| virtual void | removeView (KTextEditor::View *) |
| bool | ownedView (KateView *) |
| bool | isLastView (int numViews) |
| int | getTextLineCount () |
| int | textWidth (const TextLine::Ptr &, int cursorX) |
| int | textWidth (PointStruc &cursor) |
| int | textWidth (bool wrapCursor, PointStruc &cursor, int xPos) |
| int | textPos (const TextLine::Ptr &, int xPos) |
| int | textWidth () |
| int | textHeight () |
| void | insert (VConfig &, const QString &) |
| void | insertFile (VConfig &, QIODevice &) |
| int | currentColumn (PointStruc &cursor) |
| bool | insertChars (VConfig &, const QString &chars) |
| void | newLine (VConfig &) |
| void | killLine (VConfig &) |
| void | backspace (VConfig &) |
| void | del (VConfig &) |
| void | clear () |
| void | cut (VConfig &) |
| void | copy (int flags) |
| void | paste (VConfig &) |
| void | toggleRect (int, int, int, int) |
| void | selectTo (VConfig &c, PointStruc &cursor, int cXPos) |
| void | selectAll () |
| void | deselectAll () |
| void | invertSelection () |
| void | selectWord (PointStruc &cursor, int flags) |
| void | selectLength (PointStruc &cursor, int length, int flags) |
| void | indent (VConfig &c) |
| void | unIndent (VConfig &c) |
| void | cleanIndent (VConfig &c) |
| void | doIndent (VConfig &, int change) |
| void | optimizeLeadingSpace (int line, int flags, int change) |
| void | comment (VConfig &c) |
| void | unComment (VConfig &c) |
| void | doComment (VConfig &, int change) |
| virtual QString | text () const |
| QString | getWord (PointStruc &cursor) |
| long | needPreHighlight (long till) |
| bool | hasMarkedText () |
| QString | markedText (int flags) |
| void | delMarkedText (VConfig &) |
| void | tagLineRange (int line, int x1, int x2) |
| void | tagLines (int start, int end) |
| void | tagAll () |
| void | updateLines (int startLine=0, int endLine=0xffffff, int flags=0, int cursorY=-1) |
| void | updateMaxLength (TextLine::Ptr &) |
| void | updateViews (KateView *exclude=0L) |
| QColor & | cursorCol (int x, int y) |
| void | paintTextLine (QPainter &, int line, int xStart, int xEnd, bool showTabs) |
| void | paintTextLine (QPainter &, int line, int y, int xStart, int xEnd, bool showTabs) |
| bool | doSearch (SConfig &s, const QString &searchFor) |
| void | tagLine (int line) |
| void | insLine (int line) |
| void | delLine (int line) |
| void | optimizeSelection () |
| void | doAction (KateAction *) |
| void | doReplace (KateAction *) |
| void | doWordWrap (KateAction *) |
| void | doWordUnWrap (KateAction *) |
| void | doNewLine (KateAction *) |
| void | doDelLine (KateAction *) |
| void | doInsLine (KateAction *) |
| void | doKillLine (KateAction *) |
| void | newUndo () |
| void | recordStart (VConfig &, int newUndoType) |
| void | recordStart (KateView *, PointStruc &, int flags, int newUndoType, bool keepModal=false, bool mergeUndo=false) |
| void | recordAction (KateAction::Action, PointStruc &) |
| void | recordInsert (VConfig &, const QString &text) |
| void | recordReplace (VConfig &, int len, const QString &text) |
| void | recordInsert (PointStruc &, const QString &text) |
| void | recordDelete (PointStruc &, int len) |
| void | recordReplace (PointStruc &, int len, const QString &text) |
| void | recordEnd (VConfig &) |
| void | recordEnd (KateView *, PointStruc &, int flags) |
| void | doActionGroup (KateActionGroup *, int flags, bool undo=false) |
| int | nextUndoType () |
| int | nextRedoType () |
| void | undoTypeList (QValueList< int > &lst) |
| void | redoTypeList (QValueList< int > &lst) |
| void | undo (VConfig &, int count=1) |
| void | redo (VConfig &, int count=1) |
| void | clearRedo () |
| void | setUndoSteps (int steps) |
| void | setPseudoModal (QWidget *) |
| void | newBracketMark (PointStruc &, BracketMark &) |
| void | isModOnHD (bool forceReload=false) |
| uint | docID () |
| QString | docName () |
| void | setDocName (QString docName) |
| void | setDocFile (QString docFile) |
| KateCmd * | cmd () |
| void | setEncoding (QString e) |
| QString | encoding () |
| void | setWordWrap (bool on) |
| bool | wordWrap () |
| void | setWordWrapAt (uint col) |
| uint | wordWrapAt () |
| QList< Kate::Mark > | marks () |
| void | open (const QString &name=0) |
| void | wrapText (uint col) |
Public Attributes | |
| bool | m_bSingleViewMode |
Protected Slots | |
| void | hlChanged () |
| void | clipboardChanged () |
| void | slotBufferChanged () |
| void | slotBufferHighlight (long, long) |
| void | doPreHighlight () |
Protected Member Functions | |
| void | setHighlight (int n) |
| void | makeAttribs () |
| void | updateFontData () |
Protected Attributes | |
| QFont | myFont |
| QFont | myFontBold |
| QFont | myFontItalic |
| QFont | myFontBI |
| CachedFontMetrics | myFontMetrics |
| CachedFontMetrics | myFontMetricsBold |
| CachedFontMetrics | myFontMetricsItalic |
| CachedFontMetrics | myFontMetricsBI |
| bool | m_bBrowserView |
| long | PreHighlightedTill |
| long | RequestPreHighlightTill |
| KWBuffer * | buffer |
| QColor | colors [2] |
| HlManager * | hlManager |
| Highlight * | m_highlight |
| int | m_numAttribs |
| Attribute * | m_attribs |
| int | eolMode |
| int | tabChars |
| int | m_tabWidth |
| int | fontHeight |
| int | fontAscent |
| QList< KateView > | views |
| bool | newDocGeometry |
| TextLine::Ptr | longestLine |
| float | maxLength |
| PointStruc | select |
| PointStruc | anchor |
| int | aXPos |
| int | selectStart |
| int | selectEnd |
| bool | oldMarkState |
| bool | m_singleSelection |
| bool | readOnly |
| bool | newDoc |
| bool | modified |
| bool | myWordWrap |
| uint | myWordWrapAt |
| QList< KateActionGroup > | undoList |
| int | currentUndo |
| int | undoState |
| int | undoSteps |
| int | tagStart |
| int | tagEnd |
| int | undoCount |
| QWidget * | pseudoModal |
Static Protected Attributes | |
| static QStringList | searchForList = QStringList() |
| static QStringList | replaceWithList = QStringList() |
| static uint | uniqueID = 0 |
| static const int | maxAttribs = 32 |
Private Slots | |
| void | slotViewDestroyed () |
| void | slotModChanged () |
Private Member Functions | |
| void | setMTime () |
| void | openURL (const QString &filename) |
| KateDocPrivate * | d (const KateDocument *foo) |
| void | delete_d (const KateDocument *foo) |
Static Private Member Functions | |
| static void | cleanup_d_ptr () |
Private Attributes | |
| uint | myDocID |
| QFileInfo * | fileInfo |
| QDateTime | mTime |
| QString | myDocName |
| QString | m_url |
| QString | m_file |
| KateCmd * | myCmd |
| QString | myEncoding |
Static Private Attributes | |
| static QPtrDict< KateDocPrivate > * | d_ptr = 0 |
Friends | |
| class | KateViewInternal |
| class | KateView |
| class | KateIconBorder |
Classes | |
| class | KateDocPrivate |
Definition at line 153 of file katedocument.h.
|
|
Definition at line 517 of file katedocument.h. |
|
||||||||||||||||||||||||||||
|
|
Definition at line 279 of file katedocument.cpp. References delete_d(), m_bSingleViewMode, m_highlight, KTextEditor::Document::m_views, Highlight::release(), and writeConfig(). |
|
|
Definition at line 719 of file katedocument.cpp. References KTextEditor::Document::addView(), slotViewDestroyed(), and KTextEditor::Document::views(). Referenced by KateView::KateView(). |
|
|
Definition at line 3172 of file katedocument.cpp. References myWordWrapAt, and wrapText(). |
|
|
Definition at line 257 of file katedocument.h. References m_attribs. |
|
|
Definition at line 1100 of file katedocument.cpp. References KateView::cfBackspaceIndents, VConfig::cursor, KateAction::delLine, VConfig::flags, getTextLine(), l, pos, recordAction(), recordDelete(), recordEnd(), recordStart(), textLine(), KateActionGroup::ugDelChar, KateActionGroup::ugDelLine, PointStruc::x, Opie::MM::y, and PointStruc::y. Referenced by KateViewInternal::doEditCommand(). |
|
|
Definition at line 309 of file katedocument.h. References doIndent(). Referenced by KateViewInternal::doEditCommand(). |
|
|
Definition at line 541 of file katedocument.h. References d_ptr. |
|
|
Definition at line 1163 of file katedocument.cpp. References buffer, KWBuffer::clear(), currentUndo, eolMode, eolUnix, KWBuffer::line(), longestLine, maxLength, newUndo(), oldMarkState, select, selectEnd, selectStart, setModified(), setPseudoModal(), KateView::tagAll(), undoList, KateView::updateCursor(), KTextEditor::Document::views(), PointStruc::x, and PointStruc::y. Referenced by flush(), KateDocument(), and setText(). |
|
|
Definition at line 2879 of file katedocument.cpp. References currentUndo, KTextEditor::Document::deleted(), newUndo(), and undoList. |
|
|
Definition at line 3007 of file katedocument.cpp. References deselectAll(), m_singleSelection, and updateViews(). Referenced by copy(). |
|
|
Definition at line 482 of file katedocument.h. |
|
|
Definition at line 316 of file katedocument.h. References doComment(). Referenced by KateViewInternal::doEditCommand(). |
|
|
Definition at line 1202 of file katedocument.cpp. References clipboardChanged(), QString::isEmpty(), m_singleSelection, markedText(), s, selectEnd, and selectStart. Referenced by cut(), and KateViewInternal::doEditCommand(). |
|
||||||||||||
|
Create a view that will display the document data. You can create as many views as you like. When the user modifies data in one view then all other views will be updated as well. Implements KTextEditor::Document. Definition at line 371 of file katedocument.cpp. References KateView. Referenced by TinyKate::open(), and TinyKate::slotNew(). |
|
|
Definition at line 941 of file katedocument.cpp. References getTextLine(), tabChars, PointStruc::x, and PointStruc::y. Referenced by KateView::currentColumn(). |
|
||||||||||||
|
Definition at line 1991 of file katedocument.cpp. References Attribute::col, getTextLine(), m_attribs, Attribute::selCol, taAttrMask, taSelected, and textLine(). Referenced by KateViewInternal::paintBracketMark(), and KateViewInternal::paintCursor(). |
|
|
Definition at line 1194 of file katedocument.cpp. References copy(), delMarkedText(), VConfig::flags, selectEnd, and selectStart. Referenced by KateViewInternal::doEditCommand(). |
|
|
Definition at line 546 of file katedocument.h. References d_ptr. Referenced by KateDocument(), saveFile(), and setDontChangeHlOnSave(). |
|
|
Definition at line 1144 of file katedocument.cpp. References KateView::cfRemoveSpaces, VConfig::cursor, KateAction::delLine, VConfig::flags, getTextLine(), lastLine(), len, recordAction(), recordDelete(), recordEnd(), recordStart(), textLine(), KateActionGroup::ugDelChar, KateActionGroup::ugDelLine, PointStruc::x, and PointStruc::y. Referenced by KateViewInternal::doEditCommand(). |
|
|
Definition at line 560 of file katedocument.h. References d_ptr. Referenced by ~KateDocument(). |
|
|
Definition at line 2365 of file katedocument.cpp. References KateView::delLine(), newDocGeometry, selectEnd, selectStart, tagEnd, tagStart, and KTextEditor::Document::views(). Referenced by doDelLine(), and doKillLine(). |
|
|
Definition at line 1846 of file katedocument.cpp. References KateAction::delLine, end, getTextLine(), recordAction(), recordDelete(), recordEnd(), recordStart(), select, selectEnd, selectStart, textLine(), KateActionGroup::ugDelBlock, and PointStruc::x. Referenced by cut(), KateViewInternal::doEditCommand(), insertChars(), and KateView::keyPressEvent(). |
|
|
Definition at line 1443 of file katedocument.cpp. References getTextLine(), select, selectEnd, selectionChanged(), selectStart, tagLines(), textLine(), and PointStruc::x. Referenced by KateViewInternal::changeState(), clipboardChanged(), doActionGroup(), KateViewInternal::doEditCommand(), selectLength(), selectTo(), selectWord(), and KateViewInternal::updateCursor(). |
|
|
Definition at line 2398 of file katedocument.cpp. References KateAction::delLine, doDelLine(), doInsLine(), doKillLine(), doNewLine(), doReplace(), doWordUnWrap(), doWordWrap(), KateAction::insLine, KateAction::killLine, KateAction::newLine, KateAction::replace, KateAction::wordUnWrap, and KateAction::wordWrap. Referenced by doActionGroup(), and recordAction(). |
|
||||||||||||||||
|
Definition at line 2769 of file katedocument.cpp. References KateActionGroup::action, KateView::cfPersistent, deselectAll(), doAction(), KateActionGroup::insertAction(), newUndo(), KateAction::next, optimizeSelection(), setModified(), setPseudoModal(), tagEnd, tagStart, and updateLines(). |
|
|
Returns the document ID. Reimplemented from Kate::Document. Definition at line 453 of file katedocument.h. References myDocID. |
|
|
Definition at line 454 of file katedocument.h. References myDocName. Referenced by TinyKate::slotSave(). |
|
||||||||||||
|
|
Definition at line 2501 of file katedocument.cpp. References KateAction::action, buffer, KWBuffer::changeLine(), KateAction::cursor, delLine(), getTextLine(), longestLine, KateAction::newLine, KWBuffer::removeLine(), tagLine(), textLine(), PointStruc::x, and PointStruc::y. Referenced by doAction(). |
|
||||||||||||
|
Definition at line 1525 of file katedocument.cpp. References KateView::cfKeepIndentProfile, KateView::cfPersistent, VConfig::cursor, VConfig::flags, getTextLine(), optimizeLeadingSpace(), recordEnd(), recordStart(), selectEnd, selectStart, tabChars, textLine(), KateActionGroup::ugIndent, KateActionGroup::ugUnindent, VConfig::view, PointStruc::x, and PointStruc::y. Referenced by cleanIndent(), indent(), and unIndent(). |
|
|
Definition at line 2520 of file katedocument.cpp. References KateAction::action, buffer, KateAction::cursor, KWBuffer::insertLine(), insLine(), KateAction::killLine, and PointStruc::y. Referenced by doAction(). |
|
|
Definition at line 2529 of file katedocument.cpp. References KateAction::action, buffer, KateAction::cursor, delLine(), getTextLine(), KateAction::insLine, longestLine, KWBuffer::removeLine(), tagLine(), textLine(), and PointStruc::y. Referenced by doAction(). |
|
|
Definition at line 2483 of file katedocument.cpp. References KateAction::action, buffer, KWBuffer::changeLine(), KateAction::cursor, KateAction::delLine, getTextLine(), KWBuffer::insertLine(), insLine(), newLine(), selectEnd, tagLine(), textLine(), PointStruc::x, and PointStruc::y. Referenced by doAction(). |
|
|
Definition at line 263 of file katedocument.cpp. References max, numLines(), preHighlightChanged(), PreHighlightedTill, RequestPreHighlightTill, and updateLines(). Referenced by needPreHighlight(). |
|
|
Definition at line 2429 of file katedocument.cpp. References buffer, KWBuffer::changeLine(), KateAction::cursor, getTextLine(), l, KateAction::len, QString::length(), tagLine(), KateAction::text, textLine(), QString::unicode(), PointStruc::x, and PointStruc::y. Referenced by doAction(). |
|
||||||||||||
|
Definition at line 2193 of file katedocument.cpp. References col, SConfig::cursor, SConfig::flags, getTextLine(), QString::isEmpty(), Highlight::isInWord(), lastLine(), m_highlight, SConfig::matchedLength, pos, SConfig::search(), selectEnd, selectStart, KateView::sfBackward, KateView::sfSelected, KateView::sfWholeWords, KateView::sfWrapped, SConfig::startCursor, t, text(), textLine(), PointStruc::x, and PointStruc::y. Referenced by KateView::doReplaceAction(), and KateView::findAgain(). |
|
|
Definition at line 2467 of file katedocument.cpp. References KateAction::action, buffer, KWBuffer::changeLine(), KateAction::cursor, getTextLine(), KateAction::len, tagLine(), textLine(), KateAction::wordWrap, PointStruc::x, and PointStruc::y. Referenced by doAction(). |
|
|
Definition at line 2450 of file katedocument.cpp. References KateAction::action, buffer, KWBuffer::changeLine(), KateAction::cursor, getTextLine(), KateAction::len, selectEnd, tagLine(), textLine(), KateAction::wordUnWrap, PointStruc::x, and PointStruc::y. Referenced by doAction(). |
|
|
Definition at line 489 of file katedocument.h. References myEncoding. |
|
|
The file has been saved (perhaps the name has changed). The main window can use this to change its caption Referenced by flush(), openURL(), saveFile(), and setDocFile(). |
|
|
Reimplemented from Kate::Document. Definition at line 3101 of file katedocument.cpp. References clear(), fileInfo, fileNameChanged(), isReadOnly(), m_url, QString::null, QFileInfo::setFile(), setMTime(), and updateViews(). Referenced by KateView::flush(). |
|
|
Definition at line 170 of file katedocument.h. References myFont. Referenced by KateView::configDialog(), KateView::slotDecFontSizes(), and KateView::slotIncFontSizes(). |
|
|
Definition at line 171 of file katedocument.h. References myFontMetrics. |
|
|
|
Definition at line 275 of file katedocument.h. References numLines(). |
|
|
Definition at line 1753 of file katedocument.cpp. References end, getTextLine(), Highlight::isInWord(), len, m_highlight, start, textLine(), PointStruc::x, and PointStruc::y. Referenced by KateView::currentWord(), and KateView::word(). |
|
|
Definition at line 235 of file katedocument.h. References m_bBrowserView. |
|
|
Definition at line 328 of file katedocument.h. References selectEnd, and selectStart. Referenced by doComment(), KateViewInternal::doEditCommand(), KateView::find(), KateView::hasMarkedText(), KateViewInternal::keyPressEvent(), KateView::replace(), and updateViews(). |
|
|
Implements KTextEditor::Document. Definition at line 446 of file katedocument.cpp. References selectEnd, and selectStart. |
|
|
Definition at line 254 of file katedocument.h. References m_highlight. Referenced by KateViewInternal::wordLeft(), and KateViewInternal::wordRight(). |
|
|
Referenced by setHighlight(). |
|
|
Definition at line 255 of file katedocument.h. References HlManager::findHl(), hlManager, and m_highlight. Referenced by KateView::getHl(). |
|
|
Definition at line 713 of file katedocument.cpp. References makeAttribs(), and updateViews(). Referenced by KateDocument(). |
|
|
Definition at line 307 of file katedocument.h. References doIndent(). Referenced by KateViewInternal::doEditCommand(), and KateViewInternal::keyPressEvent(). |
|
||||||||||||
|
Definition at line 861 of file katedocument.cpp. References buf, KateView::cfVerticalSelect, VConfig::cursor, VConfig::flags, getTextLine(), KateAction::insLine, QString::isEmpty(), QChar::isPrint(), QString::length(), KateAction::newLine, numLines(), pos, recordAction(), recordEnd(), recordInsert(), recordStart(), textPos(), textWidth(), QString::truncate(), KateActionGroup::ugPaste, PointStruc::x, and PointStruc::y. Referenced by insertAt(), KateView::insertText(), and paste(). |
|
||||||||||||||||
|
Definition at line 395 of file katedocument.cpp. References buffer, Opie::Core::endl(), KWBuffer::insertLine(), kdDebug(), QString::length(), newDocGeometry, QString::unicode(), updateLines(), and updateViews(). Referenced by insertLine(), and replaceLine(). |
|
||||||||||||||||||||
|
Add the line(s) into the document at the given line and column. Implements KTextEditor::Document. Definition at line 409 of file katedocument.cpp. References VConfig::cursor, VConfig::cXPos, VConfig::flags, insert(), VConfig::view, PointStruc::x, and PointStruc::y. |
|
||||||||||||
|
Definition at line 945 of file katedocument.cpp. References buf, KateView::cfAutoBrackets, KateView::cfOvr, KateView::cfReplaceTabs, delMarkedText(), getTextLine(), QString::insert(), QString::isEmpty(), QChar::isPrint(), isSpace(), l, lastLine(), length(), QString::length(), myWordWrap, myWordWrapAt, KateAction::newLine, pos, recordAction(), recordEnd(), recordInsert(), recordReplace(), recordStart(), s, tabChars, textLine(), KateActionGroup::ugInsChar, KateAction::wordWrap, PointStruc::x, and PointStruc::y. Referenced by KateViewInternal::keyPressEvent(). |
|
||||||||||||
|
Definition at line 911 of file katedocument.cpp. References QTextStream::atEnd(), buf, VConfig::cursor, KateAction::newLine, recordAction(), recordEnd(), recordInsert(), recordStart(), stream, QString::truncate(), KateActionGroup::ugPaste, PointStruc::x, and PointStruc::y. |
|
||||||||||||
|
Insert line(s) at the given line number. If the line number is -1 (the default) then the line is added to end of the document Implements KTextEditor::Document. Definition at line 391 of file katedocument.cpp. References insert_Line(). |
|
|
Definition at line 2351 of file katedocument.cpp. References KateView::insLine(), newDocGeometry, selectEnd, selectStart, tagEnd, tagStart, and KTextEditor::Document::views(). Referenced by doInsLine(), and doNewLine(). |
|
|
Definition at line 1460 of file katedocument.cpp. References getTextLine(), lastLine(), optimizeSelection(), select, selectEnd, selectionChanged(), selectStart, tagLines(), textLine(), and PointStruc::x. Referenced by KateViewInternal::doEditCommand(). |
|
|
Definition at line 742 of file katedocument.cpp. References KTextEditor::Document::views(). Referenced by KateView::isLastView(). |
|
|
Definition at line 593 of file katedocument.cpp. References modified. |
|
|
Tjecks if the file on disk is newer than document contents. If forceReload is true, the document is reloaded without asking the user, otherwise [default] the user is asked what to do. Definition at line 3047 of file katedocument.cpp. References KMessageBox::Continue, fileInfo, QFileInfo::fileName(), i18n, QFileInfo::lastModified(), m_url, mTime, QFileInfo::refresh(), reloadFile(), setMTime(), and KMessageBox::warningContinueCancel(). |
|
|
Definition at line 577 of file katedocument.cpp. References newDoc. |
|
|
Definition at line 559 of file katedocument.cpp. References readOnly. Referenced by flush(). |
|
|
Definition at line 224 of file katedocument.h. |
|
|
Definition at line 1089 of file katedocument.cpp. References VConfig::cursor, KateAction::killLine, lastLine(), recordAction(), recordDelete(), recordEnd(), recordStart(), KateActionGroup::ugDelLine, PointStruc::x, and PointStruc::y. Referenced by KateViewInternal::doEditCommand(). |
|
|
gets the last line number (numLines() -1) Definition at line 203 of file katedocument.h. References numLines(). Referenced by KateViewInternal::bottom(), KateViewInternal::bottom_end(), KateViewInternal::bottomOfView(), KateView::continueSearch(), KateViewInternal::cursorDown(), KateViewInternal::cursorRight(), del(), doSearch(), KateView::initSearch(), insertChars(), invertSelection(), killLine(), newBracketMark(), KateViewInternal::pageDown(), paintTextLine(), KateViewInternal::scrollDown(), selectAll(), textWidth(), updateLines(), KateView::word(), and KateViewInternal::wordRight(). |
|
|
Implements KTextEditor::Document. Definition at line 437 of file katedocument.cpp. References text(). Referenced by insertChars(). |
|
|
Definition at line 686 of file katedocument.cpp. References hlManager, m_attribs, m_highlight, m_numAttribs, HlManager::makeAttribs(), maxAttribs, odebug, oendl, updateFontData(), and updateLines(). Referenced by hlChanged(), and setHighlight(). |
|
|
Definition at line 1789 of file katedocument.cpp. References KateView::cfVerticalSelect, end, getTextLine(), i, len, s, selectEnd, selectStart, start, and textLine(). Referenced by copy(), and KateView::markedText(). |
|
|
A list of all marks in a document. Use binary comparing to find marks of a specific type. Reimplemented from Kate::Document. Definition at line 3081 of file katedocument.cpp. References getTextLine(), i, Kate::Mark::line, list, numLines(), and Kate::Mark::type. Referenced by KateView::bookmarkMenuAboutToShow(), KateView::clearBookmarks(), and writeSessionConfig(). |
|
|
Referenced by KateDocument(), and setModified(). |
|
|
Referenced by slotModChanged(). |
|
|
Referenced by setDocName(). |
|
|
Definition at line 245 of file katedocument.cpp. References doPreHighlight(), max, numLines(), PreHighlightedTill, and RequestPreHighlightTill. Referenced by KateView::gotoLine(), KateView::gotoMark(), and KateViewInternal::paintEvent(). |
|
||||||||||||
|
Definition at line 2915 of file katedocument.cpp. References Attribute::bold, QMap< Key, T >::count(), BracketMark::cursor, BracketMark::eXPos, getTextLine(), Attribute::italic, lastLine(), m_attribs, myFontMetrics, myFontMetricsBI, myFontMetricsBold, myFontMetricsItalic, BracketMark::sXPos, textLine(), textWidth(), CachedFontMetrics::width(), PointStruc::x, Opie::MM::x, and PointStruc::y. Referenced by KateViewInternal::changeState(), and KateViewInternal::updateCursor(). |
|
|
Definition at line 1051 of file katedocument.cpp. References KateView::cfAutoIndent, KateView::cfSpaceIndent, VConfig::cursor, VConfig::flags, getTextLine(), QString::length(), KateAction::newLine, pos, recordAction(), recordEnd(), recordInsert(), recordStart(), s, tabChars, tabString(), textLine(), KateActionGroup::ugInsLine, PointStruc::x, Opie::MM::y, and PointStruc::y. Referenced by KateViewInternal::doEditCommand(), and doNewLine(). |
|
|
Definition at line 2541 of file katedocument.cpp. References currentUndo, KTextEditor::Document::m_views, undoList, and undoState. Referenced by clear(), clearRedo(), doActionGroup(), recordEnd(), redo(), and undo(). |
|
|
Definition at line 2805 of file katedocument.cpp. References currentUndo, g, KateActionGroup::ugNone, undoList, and KateActionGroup::undoType. Referenced by KateView::nextRedoType(). |
|
|
Definition at line 2796 of file katedocument.cpp. References currentUndo, g, KateActionGroup::ugNone, undoList, and KateActionGroup::undoType. Referenced by KateView::nextUndoType(). |
|
|
Definition at line 256 of file katedocument.h. References m_numAttribs. |
|
|
gets the number of lines Implements KTextEditor::Document. Definition at line 510 of file katedocument.cpp. References buffer, and KWBuffer::count(). Referenced by doPreHighlight(), getTextLineCount(), KateView::gotoLine(), insert(), lastLine(), marks(), needPreHighlight(), KateView::numLines(), KateIconBorder::paintEvent(), readSessionConfig(), saveFile(), textHeight(), textWidth(), updateMaxLength(), and wrapText(). |
|
|
Definition at line 3116 of file katedocument.cpp. References openURL(). Referenced by TinyKate::open(). |
|
|
Definition at line 293 of file katedocument.cpp. References buffer, KWBuffer::clear(), QTextCodec::codecForLocale(), QFileInfo::exists(), fileInfo, fileNameChanged(), hlManager, KWBuffer::insertFile(), QFileInfo::isReadable(), m_file, myWordWrap, myWordWrapAt, odebug, oendl, QFileInfo::setFile(), setHighlight(), setMTime(), updateLines(), updateViews(), HlManager::wildcardFind(), and wrapText(). Referenced by open(). |
|
||||||||||||||||
|
Definition at line 1580 of file katedocument.cpp. References KateView::cfKeepExtraSpaces, KateView::cfSpaceIndent, QString::fill(), getTextLine(), len, recordReplace(), s, tabChars, textLine(), PointStruc::x, and PointStruc::y. Referenced by doIndent(). |
|
|
Definition at line 2379 of file katedocument.cpp. References getTextLine(), selectEnd, selectStart, and textLine(). Referenced by doActionGroup(), invertSelection(), recordEnd(), and selectTo(). |
|
|
Definition at line 737 of file katedocument.cpp. References KTextEditor::Document::views(). |
|
||||||||||||||||||||||||||||
|
Definition at line 2006 of file katedocument.cpp. References Attribute::bold, Attribute::col, colors, fontAscent, fontHeight, getTextLine(), Attribute::italic, lastLine(), len, m_attribs, m_tabWidth, myFont, myFontBI, myFontBold, myFontItalic, myFontMetrics, myFontMetricsBI, myFontMetricsBold, myFontMetricsItalic, s, Attribute::selCol, str, QConstString::string(), taAttrMask, taSelected, textLine(), CachedFontMetrics::width(), and Opie::MM::x. |
|
||||||||||||||||||||||||
|
Definition at line 2001 of file katedocument.cpp. Referenced by KateViewInternal::paintCursor(), KateViewInternal::paintEvent(), and KateViewInternal::paintTextLines(). |
|
|
Definition at line 1222 of file katedocument.cpp. References insert(), QString::isEmpty(), and s. Referenced by KateViewInternal::doEditCommand(). |
|
|
Referenced by doPreHighlight(). |
|
|
Read document config. Reimplemented from Kate::Document. Definition at line 597 of file katedocument.cpp. References QTextCodec::codecForLocale(), colors, KGlobal::config(), QString::fromLatin1(), m_singleSelection, myEncoding, myFont, myWordWrap, myWordWrapAt, name, KateConfig::readBoolEntry(), KateConfig::readColorEntry(), KateConfig::readEntry(), KateConfig::readFontEntry(), KateConfig::readNumEntry(), setFont(), KateConfig::setGroup(), setTabWidth(), setUndoSteps(), and wrapText(). Referenced by KateDocument(). |
|
|
Read document session config. Reimplemented from Kate::Document. Definition at line 635 of file katedocument.cpp. References Kate::Document::Bookmark, QValueList< T >::count(), getTextLine(), hlManager, i, l, m_url, HlManager::nameFind(), numLines(), and setHighlight(). |
|
||||||||||||
|
Definition at line 2627 of file katedocument.cpp. References doAction(), and undoList. Referenced by backspace(), del(), delMarkedText(), insert(), insertChars(), insertFile(), killLine(), and newLine(). |
|
||||||||||||
|
Definition at line 2659 of file katedocument.cpp. References QString::null, and recordReplace(). Referenced by backspace(), del(), delMarkedText(), and killLine(). |
|
||||||||||||||||
|
Definition at line 2697 of file katedocument.cpp. References KateActionGroup::action, currentUndo, KateActionGroup::end, g, newUndo(), optimizeSelection(), setModified(), tagEnd, tagStart, KTextEditor::Document::textChanged(), undoCount, undoList, KateView::updateCursor(), updateLines(), and PointStruc::y. |
|
|
Definition at line 2693 of file katedocument.cpp. References VConfig::cursor, VConfig::flags, and VConfig::view. Referenced by backspace(), del(), delMarkedText(), doComment(), doIndent(), KateView::doReplaceAction(), insert(), insertChars(), insertFile(), killLine(), and newLine(). |
|
||||||||||||
|
Definition at line 2655 of file katedocument.cpp. References recordReplace(). |
|
||||||||||||
|
Definition at line 2635 of file katedocument.cpp. References recordReplace(). Referenced by insert(), insertChars(), insertFile(), and newLine(). |
|
||||||||||||||||
|
Definition at line 2663 of file katedocument.cpp. References KateAction::action, buffer, KWBuffer::changeLine(), KateAction::cursor, getTextLine(), QString::insert(), QString::isEmpty(), l, KateAction::len, QString::length(), KateAction::replace, tagLine(), KateAction::text, textLine(), undoList, QString::unicode(), updateMaxLength(), PointStruc::x, and PointStruc::y. |
|
||||||||||||||||
|
Definition at line 2639 of file katedocument.cpp. References KateView::cfSpaceIndent, VConfig::cursor, VConfig::flags, getTextLine(), QString::length(), s, tabChars, tabString(), textLine(), PointStruc::x, and PointStruc::y. Referenced by doComment(), KateView::doReplaceAction(), insertChars(), optimizeLeadingSpace(), recordDelete(), and recordInsert(). |
|
||||||||||||||||||||||||||||
|
Definition at line 2558 of file katedocument.cpp. References KateView::cfGroupUndo, currentUndo, KateActionGroup::end, g, setPseudoModal(), tagEnd, tagStart, KateActionGroup::ugDelChar, KateActionGroup::ugDelLine, KateActionGroup::ugInsChar, KateActionGroup::ugInsLine, undoCount, undoList, undoSteps, KateActionGroup::undoType, PointStruc::x, and PointStruc::y. |
|
||||||||||||
|
Definition at line 2554 of file katedocument.cpp. References VConfig::cursor, VConfig::flags, and VConfig::view. Referenced by backspace(), del(), delMarkedText(), doComment(), doIndent(), KateView::doReplaceAction(), insert(), insertChars(), insertFile(), killLine(), and newLine(). |
|
||||||||||||
|
Definition at line 2854 of file katedocument.cpp. References currentUndo, doActionGroup(), KateActionGroup::end, VConfig::flags, g, newUndo(), setModified(), undoList, KateView::updateCursor(), and VConfig::view. Referenced by KateViewInternal::doEditCommand(), and KateView::redoMultiple(). |
|
|
Definition at line 2822 of file katedocument.cpp. References currentUndo, i, and undoList. Referenced by KateView::redoTypeList(). |
|
|
Reloads the current document from disk if possible Definition at line 3065 of file katedocument.cpp. References fileInfo, QFileInfo::fileName(), and setMTime(). Referenced by isModOnHD(). |
|
||||||||||||
|
Definition at line 424 of file katedocument.cpp. References buffer, Opie::Core::endl(), kdDebug(), KWBuffer::removeLine(), updateLines(), and updateViews(). Referenced by removeLine(), and replaceLine(). |
|
|
Implements KTextEditor::Document. Definition at line 420 of file katedocument.cpp. References remove_Line(). |
|
|
Definition at line 725 of file katedocument.cpp. References KTextEditor::Document::removeView(), slotViewDestroyed(), and KTextEditor::Document::views(). Referenced by KateView::~KateView(). |
|
||||||||||||
|
Definition at line 385 of file katedocument.cpp. References insert_Line(), and remove_Line(). |
|
|
Definition at line 329 of file katedocument.cpp. References QTextCodec::codecForLocale(), d(), eolDos, eolMacintosh, eolMode, eolUnix, f, fileInfo, fileNameChanged(), getTextLine(), hlManager, IO_Ok, IO_WriteOnly, m_file, numLines(), QFile::open(), QTextStream::RawUnicode, QTextStream::setCodec(), QTextStream::setEncoding(), QFileInfo::setFile(), setHighlight(), setMTime(), stream, and HlManager::wildcardFind(). Referenced by TinyKate::slotSave(), and TinyKate::slotSaveAs(). |
|
|
Definition at line 1421 of file katedocument.cpp. References getTextLine(), lastLine(), select, selectEnd, selectionChanged(), selectStart, tagLines(), textLine(), and PointStruc::x. Referenced by KateViewInternal::doEditCommand(). |
|
|
Implements KTextEditor::Document. Definition at line 451 of file katedocument.cpp. References KateView::cfVerticalSelect, end, flags, getTextLine(), i, len, s, selectEnd, selectStart, start, and textLine(). |
|
|
Referenced by deselectAll(), invertSelection(), selectAll(), selectLength(), selectTo(), selectWord(), and toggleRect(). |
|
||||||||||||||||
|
Definition at line 1505 of file katedocument.cpp. References anchor, KateView::cfKeepSelection, deselectAll(), end, getTextLine(), select, selectEnd, selectionChanged(), selectStart, start, tagLines(), textLine(), PointStruc::x, and PointStruc::y. Referenced by KateView::exposeFound(). |
|
||||||||||||||||
|
Definition at line 1320 of file katedocument.cpp. References anchor, aXPos, KateView::cfKeepSelection, KateView::cfVerticalSelect, KateView::cfXorSelect, VConfig::cursor, VConfig::cXPos, deselectAll(), VConfig::flags, getTextLine(), optimizeSelection(), select, selectEnd, selectionChanged(), selectStart, tagLineRange(), tagLines(), textLine(), toggleRect(), Opie::MM::x, PointStruc::x, Opie::MM::y, and PointStruc::y. Referenced by KateViewInternal::changeState(). |
|
||||||||||||
|
Definition at line 1482 of file katedocument.cpp. References anchor, KateView::cfKeepSelection, deselectAll(), end, getTextLine(), Highlight::isInWord(), len, m_highlight, select, selectEnd, selectionChanged(), selectStart, start, tagLines(), textLine(), PointStruc::x, and PointStruc::y. Referenced by KateViewInternal::mouseDoubleClickEvent(). |
|
|
Definition at line 3033 of file katedocument.cpp. References fileNameChanged(), and m_file. Referenced by TinyKate::slotSaveAs(). |
|
|
Definition at line 3027 of file katedocument.cpp. References myDocName, and nameChanged(). Referenced by TinyKate::open(), and TinyKate::slotSaveAs(). |
|
|
Definition at line 213 of file katedocument.cpp. References d(). Referenced by KateView::setDontChangeHlOnSave(), and KateView::setHl(). |
|
|
Definition at line 488 of file katedocument.h. References myEncoding. Referenced by KateView::setEncoding(). |
|
|
Definition at line 218 of file katedocument.cpp. References Opie::Core::endl(), kdDebug(), maxLength, myFont, myFontBI, myFontBold, myFontItalic, myFontMetrics, myFontMetricsBI, myFontMetricsBold, myFontMetricsItalic, updateFontData(), updateViews(), and CachedFontMetrics::width(). Referenced by KateView::configDialog(), KateDocument(), readConfig(), KateView::slotDecFontSizes(), and KateView::slotIncFontSizes(). |
|
|
Definition at line 667 of file katedocument.cpp. References HlManager::getHl(), highlightChanged(), hlManager, m_highlight, makeAttribs(), PreHighlightedTill, Highlight::release(), RequestPreHighlightTill, updateLines(), and Highlight::use(). Referenced by KateDocument(), openURL(), readSessionConfig(), saveFile(), and KateView::setHl(). |
|
|
Definition at line 581 of file katedocument.cpp. References KTextEditor::Document::m_views, modified, and modifiedChanged(). Referenced by clear(), doActionGroup(), recordEnd(), redo(), KateView::setEol(), KateView::setModified(), and undo(). |
|
|
updates mTime to reflect file on fs. called from constructor and from saveFile. Definition at line 3039 of file katedocument.cpp. References fileInfo, QFileInfo::fileName(), QFileInfo::lastModified(), mTime, and QFileInfo::refresh(). Referenced by flush(), isModOnHD(), openURL(), reloadFile(), and saveFile(). |
|
|
Definition at line 563 of file katedocument.cpp. References newDoc. |
|
|
Definition at line 2897 of file katedocument.cpp. References pseudoModal. Referenced by clear(), KateView::deleteReplacePrompt(), doActionGroup(), KateView::doReplaceAction(), and recordStart(). |
|
|
Definition at line 547 of file katedocument.cpp. References KTextEditor::Document::m_views, and readOnly. Referenced by KateDocument(), and KateView::setReadOnly(). |
|
|
Definition at line 223 of file katedocument.h. |
|
||||||||||||||||||||
|
Implements KTextEditor::Document. Definition at line 442 of file katedocument.cpp. |
|
|
Definition at line 227 of file katedocument.h. References m_singleSelection. Referenced by KateView::setConfig(). |
|
|
Definition at line 528 of file katedocument.cpp. References buffer, QMap< Key, T >::count(), i, len, KWBuffer::line(), longestLine, maxLength, tabChars, textLine(), textWidth(), and updateFontData(). Referenced by readConfig(), and KateView::setTabWidth(). |
|
|
Set the given text into the view. Warning: This will overwrite any data currently held in this view. Implements KTextEditor::Document. Definition at line 1765 of file katedocument.cpp. References buffer, clear(), KWBuffer::insertLine(), QChar::isPrint(), KWBuffer::line(), pos, textLine(), and updateLines(). Referenced by KateView::setText(). |
|
|
Definition at line 2892 of file katedocument.cpp. References undoSteps. Referenced by readConfig(), and KateView::setUndoSteps(). |
|
|
Definition at line 3156 of file katedocument.cpp. References myWordWrap, myWordWrapAt, and wrapText(). |
|
|
Definition at line 3164 of file katedocument.cpp. References myWordWrap, myWordWrapAt, and wrapText(). |
|
|
Definition at line 228 of file katedocument.h. References m_singleSelection. Referenced by KateView::config(). |
|
|
Definition at line 1963 of file katedocument.cpp. References newDocGeometry, and updateViews(). Referenced by KateDocument(). |
|
||||||||||||
|
Definition at line 1969 of file katedocument.cpp. References Opie::Core::endl(), kdDebug(), and updateLines(). Referenced by KateDocument(). |
|
|
Definition at line 3076 of file katedocument.cpp. References modStateChanged(). Referenced by KateDocument(). |
|
|
The view emits a destroyed() signal which is connected to this slot and removed from our internal list. Note: The view* is obtained from the QObject::sender() method. Reimplemented from KTextEditor::Document. Definition at line 732 of file katedocument.cpp. References KTextEditor::Document::views(). Referenced by addView(), and removeView(). |
|
|
Definition at line 218 of file katedocument.h. References tabChars. Referenced by updateFontData(). |
|
|
Definition at line 1897 of file katedocument.cpp. References KTextEditor::Document::views(). Referenced by KateView::applyColors(). |
|
|
Definition at line 2345 of file katedocument.cpp. References tagEnd, and tagStart. Referenced by doDelLine(), doKillLine(), doNewLine(), doReplace(), doWordUnWrap(), doWordWrap(), and recordReplace(). |
|
||||||||||||||||
|
Definition at line 1881 of file katedocument.cpp. References KTextEditor::Document::views(). Referenced by selectTo(), and toggleRect(). |
|
||||||||||||
|
Definition at line 1889 of file katedocument.cpp. References KTextEditor::Document::views(). Referenced by KateViewInternal::changeState(), KateView::clearBookmarks(), deselectAll(), invertSelection(), KateIconBorder::mousePressEvent(), selectAll(), selectLength(), selectTo(), selectWord(), KateView::toggleBookmark(), and updateLines(). |
|
|
Implements KTextEditor::Document. Definition at line 1738 of file katedocument.cpp. References QString::append(), buffer, QMap< Key, T >::count(), i, QString::insert(), QString::length(), KWBuffer::line(), s, and textLine(). Referenced by doSearch(), length(), KateView::text(), and wrapText(). |
|
|
Definition at line 857 of file katedocument.cpp. References fontHeight, and numLines(). Referenced by KateViewInternal::updateView(). |
|
|
get the length in pixels of the given line Definition at line 522 of file katedocument.cpp. References getTextLine(), and textLine(). Referenced by KateViewInternal::bottom_end(), KateViewInternal::cursorDown(), KateViewInternal::cursorLeft(), KateViewInternal::cursorRight(), and KateViewInternal::end(). |
|
|
Implements KTextEditor::Document. Definition at line 376 of file katedocument.cpp. References getTextLine(), and l. Referenced by backspace(), cursorCol(), del(), delMarkedText(), deselectAll(), doDelLine(), doIndent(), doKillLine(), doNewLine(), doReplace(), doSearch(), doWordUnWrap(), doWordWrap(), getWord(), insertChars(), invertSelection(), markedText(), newBracketMark(), newLine(), optimizeLeadingSpace(), optimizeSelection(), paintTextLine(), recordReplace(), selectAll(), selection(), selectLength(), selectTo(), selectWord(), setTabWidth(), setText(), text(), textLength(), textWidth(), toggleRect(), and updateLines(). |
|
||||||||||||
|
Definition at line 821 of file katedocument.cpp. References Attribute::bold, Attribute::italic, m_attribs, m_tabWidth, myFontMetrics, myFontMetricsBI, myFontMetricsBold, myFontMetricsItalic, CachedFontMetrics::width(), and Opie::MM::x. Referenced by insert(), KateViewInternal::isTargetSelected(), and KateView::word(). |
|
|
Definition at line 853 of file katedocument.cpp. References maxLength. Referenced by insert(), newBracketMark(), setTabWidth(), textWidth(), and updateMaxLength(). |
|
||||||||||||||||
|
Definition at line 781 of file katedocument.cpp. References Attribute::bold, getTextLine(), Attribute::italic, lastLine(), len, m_attribs, m_tabWidth, myFontMetrics, myFontMetricsBI, myFontMetricsBold, myFontMetricsItalic, textLine(), CachedFontMetrics::width(), PointStruc::x, Opie::MM::x, and PointStruc::y. |
|
|
Definition at line 771 of file katedocument.cpp. References getTextLine(), lastLine(), numLines(), and textWidth(). |
|
||||||||||||
|
||||||||||||||||||||
|
Definition at line 1229 of file katedocument.cpp. References Attribute::bold, getTextLine(), Attribute::italic, m_attribs, m_tabWidth, myFontMetrics, myFontMetricsBI, myFontMetricsBold, myFontMetricsItalic, s, selectEnd, selectionChanged(), selectStart, t, tagLineRange(), textLine(), CachedFontMetrics::width(), and Opie::MM::x. Referenced by selectTo(). |
|
|
Definition at line 317 of file katedocument.h. References doComment(). Referenced by KateViewInternal::doEditCommand(). |
|
||||||||||||
|
Definition at line 2829 of file katedocument.cpp. References currentUndo, doActionGroup(), g, newUndo(), setModified(), KateActionGroup::start, and undoList. Referenced by KateViewInternal::doEditCommand(), and KateView::undoMultiple(). |
|
|
Definition at line 2815 of file katedocument.cpp. References currentUndo, i, and undoList. Referenced by KateView::undoTypeList(). |
|
|
Definition at line 308 of file katedocument.h. References doIndent(). Referenced by KateViewInternal::doEditCommand(), and KateViewInternal::keyPressEvent(). |
|
|
Definition at line 693 of file katedocument.cpp. References KateViewInternal::drawBuffer, fontAscent, fontHeight, m_tabWidth, myFontMetrics, KateView::myViewInternal, tabChars, tabWidth(), KateView::tagAll(), KateView::updateCursor(), KTextEditor::Document::views(), and CachedFontMetrics::width(). Referenced by makeAttribs(), setFont(), and setTabWidth(). |
|
||||||||||||||||||||
|
Definition at line 1905 of file katedocument.cpp. References buffer, KateView::cfRemoveSpaces, Highlight::doHighlight(), Opie::Core::endl(), getTextLine(), kdDebug(), lastLine(), KWBuffer::line(), m_highlight, tagLines(), textLine(), and updateMaxLength(). Referenced by doActionGroup(), doPreHighlight(), insert_Line(), makeAttribs(), openURL(), recordEnd(), remove_Line(), setHighlight(), setText(), slotBufferHighlight(), and wrapText(). |
|
|
Definition at line 1938 of file katedocument.cpp. References getTextLine(), i, len, longestLine, maxLength, newDocGeometry, numLines(), and textWidth(). Referenced by recordReplace(), and updateLines(). |
|
|
|
Definition at line 492 of file katedocument.h. References myWordWrap. |
|
|
Definition at line 495 of file katedocument.h. References myWordWrapAt. |
|
|
Definition at line 3121 of file katedocument.cpp. References buffer, getTextLine(), KWBuffer::insertLine(), isSpace(), l, newDocGeometry, numLines(), text(), updateLines(), and updateViews(). Referenced by applyWordWrap(), openURL(), readConfig(), setWordWrap(), and setWordWrapAt(). |
|
|
Save document config. Reimplemented from Kate::Document. Definition at line 619 of file katedocument.cpp. References colors, KGlobal::config(), m_singleSelection, myEncoding, myFont, myWordWrap, myWordWrapAt, KateConfig::setGroup(), tabChars, undoSteps, and KateConfig::writeEntry(). Referenced by ~KateDocument(). |
|
|
Save document session config. Reimplemented from Kate::Document. Definition at line 649 of file katedocument.cpp. References QValueList< T >::at(), QValueList< T >::count(), i, l, m_highlight, m_url, marks(), and Highlight::name(). |
|
|
Definition at line 158 of file katedocument.h. |
|
|
Definition at line 157 of file katedocument.h. Referenced by createView(). |
|
|
Definition at line 155 of file katedocument.h. |
|
|
Definition at line 422 of file katedocument.h. Referenced by selectLength(), selectTo(), and selectWord(). |
|
|
Definition at line 423 of file katedocument.h. Referenced by selectTo(). |
|
|
Definition at line 400 of file katedocument.h. Referenced by clear(), doDelLine(), doInsLine(), doKillLine(), doNewLine(), doReplace(), doWordUnWrap(), doWordWrap(), getTextLine(), insert_Line(), KateDocument(), numLines(), openURL(), recordReplace(), remove_Line(), setTabWidth(), setText(), text(), updateLines(), and wrapText(). |
|
|
Definition at line 401 of file katedocument.h. Referenced by KateView::getColors(), KateDocument(), paintTextLine(), readConfig(), and writeConfig(). |
|
|
Definition at line 438 of file katedocument.h. Referenced by clear(), clearRedo(), newUndo(), nextRedoType(), nextUndoType(), recordEnd(), recordStart(), redo(), redoTypeList(), undo(), and undoTypeList(). |
|
|
Definition at line 134 of file katedocument.cpp. Referenced by cleanup_d_ptr(), d(), and delete_d(). |
|
|
Definition at line 408 of file katedocument.h. Referenced by clear(), KateView::getEol(), saveFile(), and KateView::setEol(). |
|
|
Definition at line 471 of file katedocument.h. Referenced by flush(), isModOnHD(), KateDocument(), openURL(), reloadFile(), saveFile(), and setMTime(). |
|
|
Definition at line 413 of file katedocument.h. Referenced by paintTextLine(), and updateFontData(). |
|
|
|
Definition at line 402 of file katedocument.h. Referenced by highlightNum(), KateDocument(), makeAttribs(), openURL(), readSessionConfig(), saveFile(), and setHighlight(). |
|
|
Definition at line 418 of file katedocument.h. Referenced by clear(), doDelLine(), doKillLine(), setTabWidth(), and updateMaxLength(). |
|
|
Definition at line 406 of file katedocument.h. Referenced by attribs(), cursorCol(), KateDocument(), makeAttribs(), newBracketMark(), paintTextLine(), textPos(), textWidth(), and toggleRect(). |
|
|
Definition at line 238 of file katedocument.h. Referenced by hasBrowserExtension(), and KateDocument(). |
|
|
Definition at line 192 of file katedocument.h. Referenced by KateDocument(), ~KateDocument(), and KateView::~KateView(). |
|
|
Definition at line 476 of file katedocument.h. Referenced by openURL(), saveFile(), and setDocFile(). |
|
|
Definition at line 403 of file katedocument.h. Referenced by doComment(), doSearch(), getWord(), highlight(), highlightNum(), KateDocument(), makeAttribs(), selectWord(), setHighlight(), updateLines(), writeSessionConfig(), and ~KateDocument(). |
|
|
Definition at line 404 of file katedocument.h. Referenced by makeAttribs(), and numAttribs(). |
|
|
Definition at line 427 of file katedocument.h. Referenced by clipboardChanged(), copy(), KateDocument(), readConfig(), setSingleSelection(), singleSelection(), and writeConfig(). |
|
|
Definition at line 411 of file katedocument.h. Referenced by paintTextLine(), textPos(), textWidth(), toggleRect(), and updateFontData(). |
|
|
Definition at line 475 of file katedocument.h. Referenced by flush(), isModOnHD(), KateDocument(), readSessionConfig(), and writeSessionConfig(). |
|
|
Definition at line 127 of file katedocument.cpp. Referenced by KateDocument(), and makeAttribs(). |
|
|
Definition at line 419 of file katedocument.h. Referenced by clear(), KateDocument(), setFont(), setTabWidth(), textWidth(), and updateMaxLength(). |
|
|
Definition at line 432 of file katedocument.h. Referenced by KateView::isModified(), isModified(), KateDocument(), and setModified(). |
|
|
Definition at line 472 of file katedocument.h. Referenced by isModOnHD(), and setMTime(). |
|
|
Definition at line 479 of file katedocument.h. Referenced by KateDocument(). |
|
|
Definition at line 470 of file katedocument.h. Referenced by docID(), and KateDocument(). |
|
|
Definition at line 473 of file katedocument.h. Referenced by docName(), KateDocument(), and setDocName(). |
|
|
Definition at line 482 of file katedocument.h. Referenced by encoding(), KateDocument(), readConfig(), setEncoding(), and writeConfig(). |
|
|
Definition at line 165 of file katedocument.h. Referenced by getFont(), KateViewInternal::paintCursor(), paintTextLine(), readConfig(), setFont(), and writeConfig(). |
|
|
Definition at line 165 of file katedocument.h. Referenced by paintTextLine(), and setFont(). |
|
|
Definition at line 165 of file katedocument.h. Referenced by paintTextLine(), and setFont(). |
|
|
Definition at line 165 of file katedocument.h. Referenced by paintTextLine(), and setFont(). |
|
|
Definition at line 166 of file katedocument.h. Referenced by getFontMetrics(), newBracketMark(), paintTextLine(), setFont(), textPos(), textWidth(), toggleRect(), and updateFontData(). |
|
|
Definition at line 166 of file katedocument.h. Referenced by newBracketMark(), paintTextLine(), setFont(), textPos(), textWidth(), and toggleRect(). |
|
|
Definition at line 166 of file katedocument.h. Referenced by newBracketMark(), paintTextLine(), setFont(), textPos(), textWidth(), and toggleRect(). |
|
|
Definition at line 166 of file katedocument.h. Referenced by newBracketMark(), paintTextLine(), setFont(), textPos(), textWidth(), and toggleRect(). |
|
|
Definition at line 434 of file katedocument.h. Referenced by insertChars(), openURL(), readConfig(), setWordWrap(), setWordWrapAt(), wordWrap(), and writeConfig(). |
|
|
Definition at line 435 of file katedocument.h. Referenced by applyWordWrap(), insertChars(), openURL(), readConfig(), setWordWrap(), setWordWrapAt(), wordWrapAt(), and writeConfig(). |
|
|
Definition at line 430 of file katedocument.h. Referenced by isNewDoc(), KateDocument(), and setNewDoc(). |
|
|
Definition at line 416 of file katedocument.h. Referenced by delLine(), insert_Line(), insLine(), KateDocument(), slotBufferChanged(), updateMaxLength(), updateViews(), and wrapText(). |
|
|
Definition at line 426 of file katedocument.h. Referenced by clear(), and updateViews(). |
|
|
Definition at line 398 of file katedocument.h. Referenced by doPreHighlight(), KateDocument(), needPreHighlight(), and setHighlight(). |
|
|
Definition at line 445 of file katedocument.h. Referenced by KateDocument(), and setPseudoModal(). |
|
|
Definition at line 429 of file katedocument.h. Referenced by KateView::isReadOnly(), isReadOnly(), KateDocument(), and setReadOnly(). |
|
|
Definition at line 130 of file katedocument.cpp. Referenced by KateView::doReplaceAction(), KateView::find(), and KateView::replace(). |
|
|
Definition at line 399 of file katedocument.h. Referenced by doPreHighlight(), KateDocument(), needPreHighlight(), and setHighlight(). |
|
|
Definition at line 129 of file katedocument.cpp. Referenced by KateView::doReplaceAction(), KateView::find(), KateView::findAgain(), KateView::initSearch(), and KateView::replace(). |
|
|
Definition at line 421 of file katedocument.h. Referenced by clear(), delMarkedText(), deselectAll(), invertSelection(), selectAll(), selectLength(), selectTo(), and selectWord(). |
|
|
Definition at line 425 of file katedocument.h. Referenced by clear(), copy(), cut(), delLine(), delMarkedText(), deselectAll(), doIndent(), doNewLine(), doSearch(), doWordWrap(), hasMarkedText(), hasSelection(), insLine(), invertSelection(), markedText(), optimizeSelection(), selectAll(), selection(), selectLength(), selectTo(), selectWord(), and toggleRect(). |
|
|
Definition at line 424 of file katedocument.h. Referenced by clear(), copy(), cut(), delLine(), delMarkedText(), deselectAll(), doIndent(), doSearch(), hasMarkedText(), hasSelection(), insLine(), invertSelection(), markedText(), optimizeSelection(), selectAll(), selection(), selectLength(), selectTo(), selectWord(), and toggleRect(). |
|
|
Definition at line 410 of file katedocument.h. Referenced by currentColumn(), doIndent(), insertChars(), KateDocument(), newLine(), optimizeLeadingSpace(), recordReplace(), setTabWidth(), KateView::tabWidth(), tabWidth(), updateFontData(), and writeConfig(). |
|
|
Definition at line 442 of file katedocument.h. Referenced by delLine(), doActionGroup(), insLine(), recordEnd(), recordStart(), and tagLine(). |
|
|
Definition at line 441 of file katedocument.h. Referenced by delLine(), doActionGroup(), insLine(), recordEnd(), recordStart(), and tagLine(). |
|
|
Definition at line 443 of file katedocument.h. Referenced by recordEnd(), and recordStart(). |
|
|
Definition at line 437 of file katedocument.h. Referenced by clear(), clearRedo(), KateDocument(), newUndo(), nextRedoType(), nextUndoType(), recordAction(), recordEnd(), recordReplace(), recordStart(), redo(), redoTypeList(), undo(), and undoTypeList(). |
|
|
Definition at line 439 of file katedocument.h. Referenced by KateDocument(), newUndo(), and KateView::undoState(). |
|
|
Definition at line 440 of file katedocument.h. Referenced by KateDocument(), recordStart(), setUndoSteps(), KateView::undoSteps(), and writeConfig(). |
|
|
Definition at line 132 of file katedocument.cpp. Referenced by KateDocument(). |
|
|
Definition at line 415 of file katedocument.h. |
1.4.2