• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Public Member Functions | Protected Member Functions | List of all members
KateEditUnWrapLineUndo Class Reference

#include <kateundo.h>

Inheritance diagram for KateEditUnWrapLineUndo:
Inheritance graph
[legend]

Public Member Functions

 KateEditUnWrapLineUndo (KateDocument *document, int line, int col, int len, bool removeLine)
 
void redo ()
 
KateUndo::UndoType type () const
 
void undo ()
 
- Public Member Functions inherited from KateUndo
 KateUndo (KateDocument *document)
 
virtual ~KateUndo ()
 
virtual bool isEmpty () const
 
bool isFlagSet (ModificationFlag flag) const
 
virtual bool mergeWith (const KateUndo *undo)
 
void setFlag (ModificationFlag flag)
 
void unsetFlag (ModificationFlag flag)
 
virtual void updateRedoSavedOnDiskFlag (QBitArray &lines)
 
virtual void updateUndoSavedOnDiskFlag (QBitArray &lines)
 

Protected Member Functions

int line () const
 
- Protected Member Functions inherited from KateUndo
KateDocument * document ()
 

Additional Inherited Members

- Public Types inherited from KateUndo
enum  ModificationFlag {
  UndoLine1Modified = 1, UndoLine2Modified = 2, UndoLine1Saved = 4, UndoLine2Saved = 8,
  RedoLine1Modified = 16, RedoLine2Modified = 32, RedoLine1Saved = 64, RedoLine2Saved = 128
}
 
enum  UndoType {
  editInsertText, editRemoveText, editWrapLine, editUnWrapLine,
  editInsertLine, editRemoveLine, editMarkLineAutoWrapped, editInvalid
}
 

Detailed Description

Definition at line 289 of file kateundo.h.

Constructor & Destructor Documentation

KateEditUnWrapLineUndo::KateEditUnWrapLineUndo ( KateDocument *  document,
int  line,
int  col,
int  len,
bool  removeLine 
)

Definition at line 66 of file kateundo.cpp.

Member Function Documentation

int KateEditUnWrapLineUndo::line ( ) const
inlineprotected

Definition at line 310 of file kateundo.h.

void KateEditUnWrapLineUndo::redo ( )
virtual

redo this item

Implements KateUndo.

Definition at line 203 of file kateundo.cpp.

KateUndo::UndoType KateEditUnWrapLineUndo::type ( ) const
inlinevirtual

type of item

Returns
type

Implements KateUndo.

Definition at line 307 of file kateundo.h.

void KateEditUnWrapLineUndo::undo ( )
virtual

undo this item

Implements KateUndo.

Definition at line 161 of file kateundo.cpp.


The documentation for this class was generated from the following files:
  • kateundo.h
  • kateundo.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal