From 44c8924bd3f233de968627a4eb3374bb37b8db0e Mon Sep 17 00:00:00 2001
From: "Jesper K. Pedersen" <jesper.pedersen@kdab.com>
Date: Wed, 17 Apr 2013 12:02:11 +0200
Subject: [PATCH] Added documentation to ITextEditor

Change-Id: If3348e4c8e87e4e3d6c701dc2b9738503f0549ad
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
---
 src/plugins/texteditor/itexteditor.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/plugins/texteditor/itexteditor.h b/src/plugins/texteditor/itexteditor.h
index 60b84efe7d5..eb580bdd66d 100644
--- a/src/plugins/texteditor/itexteditor.h
+++ b/src/plugins/texteditor/itexteditor.h
@@ -69,10 +69,15 @@ public:
     ITextEditor() {}
 
     virtual int find(const QString &string) const = 0;
+    /*! Returns the position at \a posOp in characters from the beginning of the document */
     virtual int position(PositionOperation posOp = Current, int at = -1) const = 0;
+    /*! Converts the \a pos in characters from beginning of document to \a line and \a column */
     virtual void convertPosition(int pos, int *line, int *column) const = 0;
+    /*! Returns the cursor rectangle in pixels at \a pos, or current position if \a pos = -1 */
     virtual QRect cursorRect(int pos = -1) const = 0;
+    /*! Returns the amount of visible columns (in characters) in the editor */
     virtual int columnCount() const = 0;
+    /*! Returns the amount of visible lines (in characters) in the editor */
     virtual int rowCount() const = 0;
 
     virtual QString contents() const = 0;
-- 
GitLab