mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Minor code clean-ups.
This commit is contained in:
parent
9f201da3c5
commit
08eb852103
289 changed files with 779 additions and 780 deletions
|
|
@ -130,7 +130,7 @@ CodeDocument::Iterator::Iterator (const CodeDocument::Iterator& other)
|
|||
{
|
||||
}
|
||||
|
||||
const CodeDocument::Iterator& CodeDocument::Iterator::operator= (const CodeDocument::Iterator& other) throw()
|
||||
CodeDocument::Iterator& CodeDocument::Iterator::operator= (const CodeDocument::Iterator& other) throw()
|
||||
{
|
||||
document = other.document;
|
||||
currentLine = other.currentLine;
|
||||
|
|
@ -241,7 +241,7 @@ CodeDocument::Position::~Position() throw()
|
|||
setPositionMaintained (false);
|
||||
}
|
||||
|
||||
const CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw()
|
||||
CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw()
|
||||
{
|
||||
if (this != &other)
|
||||
{
|
||||
|
|
@ -733,7 +733,7 @@ class CodeDocumentInsertAction : public UndoableAction
|
|||
int insertPos;
|
||||
|
||||
CodeDocumentInsertAction (const CodeDocumentInsertAction&);
|
||||
const CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&);
|
||||
CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&);
|
||||
|
||||
public:
|
||||
CodeDocumentInsertAction (CodeDocument& owner_, const String& text_, const int insertPos_) throw()
|
||||
|
|
@ -839,7 +839,7 @@ class CodeDocumentDeleteAction : public UndoableAction
|
|||
String removedText;
|
||||
|
||||
CodeDocumentDeleteAction (const CodeDocumentDeleteAction&);
|
||||
const CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&);
|
||||
CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&);
|
||||
|
||||
public:
|
||||
CodeDocumentDeleteAction (CodeDocument& owner_, const int startPos_, const int endPos_) throw()
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ public:
|
|||
/** Destructor. */
|
||||
~Position() throw();
|
||||
|
||||
const Position& operator= (const Position& other) throw();
|
||||
Position& operator= (const Position& other) throw();
|
||||
bool operator== (const Position& other) const throw();
|
||||
bool operator!= (const Position& other) const throw();
|
||||
|
||||
|
|
@ -341,7 +341,7 @@ public:
|
|||
public:
|
||||
Iterator (CodeDocument* const document);
|
||||
Iterator (const Iterator& other);
|
||||
const Iterator& operator= (const Iterator& other) throw();
|
||||
Iterator& operator= (const Iterator& other) throw();
|
||||
~Iterator() throw();
|
||||
|
||||
/** Reads the next character and returns it.
|
||||
|
|
@ -402,7 +402,7 @@ private:
|
|||
void checkLastLineStatus();
|
||||
|
||||
CodeDocument (const CodeDocument&);
|
||||
const CodeDocument& operator= (const CodeDocument&);
|
||||
CodeDocument& operator= (const CodeDocument&);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ private:
|
|||
int columnToIndex (int line, int column) const throw();
|
||||
|
||||
CodeEditorComponent (const CodeEditorComponent&);
|
||||
const CodeEditorComponent& operator= (const CodeEditorComponent&);
|
||||
CodeEditorComponent& operator= (const CodeEditorComponent&);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue