RubyCodeComment Class Reference
class RubyCodeComment A Ruby code comment. More...
#include <rubycodecomment.h>
Inheritance diagram for RubyCodeComment:

Public Member Functions | |
| RubyCodeComment (CodeDocument *doc, const QString &text="") | |
| Constructors. | |
| virtual | ~RubyCodeComment () |
| Empty Destructor. | |
| QString | toString () |
| virtual QString | unformatText (const QString &text, const QString &indent="") |
| UnFormat a long text string. | |
| virtual QString | getNewEditorLine (int amount) |
| a special version here because we want to not only indent the new line, but to add the "#" as well. | |
Detailed Description
class RubyCodeComment A Ruby code comment.There are two styles of comments: these are simply started with a hash and no terminating characters, or delimited by '=begin' and '=end' tags at the start of lines
Definition at line 34 of file rubycodecomment.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Constructors.
Definition at line 26 of file rubycodecomment.cpp. |
|
|
Empty Destructor.
Definition at line 32 of file rubycodecomment.cpp. |
Member Function Documentation
|
|
Reimplemented from TextBlock. Definition at line 70 of file rubycodecomment.cpp. References TextBlock::formatMultiLineText(), TextBlock::getIndentationString(), TextBlock::getText(), and TextBlock::getWriteOutText(). |
|
||||||||||||
|
UnFormat a long text string. Typically, this means removing the indentaion (linePrefix) and/or newline chars from each line. Reimplemented from TextBlock. Definition at line 57 of file rubycodecomment.cpp. References TextBlock::unformatText(). |
|
|
a special version here because we want to not only indent the new line, but to add the "#" as well.
Reimplemented from TextBlock. Definition at line 49 of file rubycodecomment.cpp. References TextBlock::getIndentationString(). |
The documentation for this class was generated from the following files:
