Commit 5f749306 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed member initialization order.

parent 0ee61159
......@@ -1836,13 +1836,27 @@ int BaseTextEditor::visibleWrapColumn() const
BaseTextEditorPrivate::BaseTextEditorPrivate()
:
m_lastScrollPos(-1),
m_lineNumber(-1),
q(0),
m_contentsChanged(false),
m_lastCursorChangeWasInteresting(false),
m_allowSkippingOfBlockEnd(false),
m_document(new BaseTextDocument),
m_parenthesesMatchingEnabled(false),
m_autoParenthesesEnabled(true),
m_updateTimer(0),
m_formatRange(false),
m_parenthesesMatchingTimer(0),
m_extraArea(0),
extraAreaSelectionAnchorBlockNumber(-1),
extraAreaToggleMarkBlockNumber(-1),
extraAreaHighlightFoldedBlockNumber(-1),
m_overlay(0),
m_snippetOverlay(0),
m_searchResultOverlay(0),
visibleFoldedBlockNumber(-1),
suggestedVisibleFoldedBlockNumber(-1),
m_mouseOnFoldedMarker(false),
m_marksVisible(false),
m_codeFoldingVisible(false),
......@@ -1854,29 +1868,17 @@ BaseTextEditorPrivate::BaseTextEditorPrivate()
m_lineSeparatorsAllowed(false),
m_visibleWrapColumn(0),
m_linkPressed(false),
m_delayedUpdateTimer(0),
m_editable(0),
m_actionHack(0),
m_inBlockSelectionMode(false),
m_lastEventWasBlockSelectionEvent(false),
m_blockSelectionExtraX(0),
m_blockSelectionExtraX(-1),
m_moveLineUndoHack(false),
m_cursorBlockNumber(-1),
extraAreaHighlightFoldedBlockNumber(-1),
extraAreaSelectionAnchorBlockNumber(-1),
extraAreaToggleMarkBlockNumber(-1),
m_delayedUpdateTimer(0),
m_findScopeVerticalBlockSelection(0),
m_formatRange(0),
m_highlightBlocksTimer(0),
m_inKeyPressEvent(false),
m_lastScrollPos(-1),
m_overlay(0),
m_parenthesesMatchingTimer(0),
m_searchResultOverlay(0),
m_snippetOverlay(0),
q(0),
suggestedVisibleFoldedBlockNumber(-1),
visibleFoldedBlockNumber(-1)
m_cursorBlockNumber(-1),
m_inKeyPressEvent(false)
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment