language/editor
Todo List
- page Editor Integration
: add description and examples
- Class KDevelop::DocumentCursor
- override comparison operators and take them into account
- Member KDevelop::DocumentCursor::DocumentCursor (KTextEditor::Cursor *cursor)
- Possible high memory-usage here, because the string is re-allocated for each conversion
- Member KDevelop::DocumentCursorObject::url (const KTextEditor::Cursor *range)
- this conversion is bad
- Class KDevelop::DocumentRange
- parent/child relationships here too?
- Class KDevelop::DocumentRangeObject
- Silently synchronising from smart ranges to return the range is not a good idea, because as soon as the user receives the range, it may be out of date already. Better to force them to understand that the smart mutex must be locked and thus retrieve a useful range to start with.
- Member KDevelop::DocumentRangeObject::rangeDeleted (KTextEditor::SmartRange *range)
- this sux
- Class KDevelop::EditorIntegrator
introduce stacks for the state?
move private members to a private class
non-loaded documents don't trigger the removeDocument call...
- Member KDevelop::EditorIntegrator::releaseRange (KTextEditor::SmartRange *range)
- audit uses to check for smart lock holding
- Member KDevelop::EditorIntegrator::smart () const
- This opens a very short window where the document could eventually be deleted But it prevents a much more probable deadlock.
- Class KDevelop::HashedString
- use at least 64 bit hash
KDE 4.4 API Reference