mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	remove multiline
This commit is contained in:
		
							parent
							
								
									5fdf6dd77a
								
							
						
					
					
						commit
						5bfbccf63f
					
				@ -57,7 +57,7 @@ QgsCodeEditor.Flags = lambda flags=0: QgsCodeEditor.Flag(flags)
 | 
				
			|||||||
QgsCodeEditor.Flags.baseClass = QgsCodeEditor
 | 
					QgsCodeEditor.Flags.baseClass = QgsCodeEditor
 | 
				
			||||||
Flags = QgsCodeEditor  # dirty hack since SIP seems to introduce the flags in module
 | 
					Flags = QgsCodeEditor  # dirty hack since SIP seems to introduce the flags in module
 | 
				
			||||||
try:
 | 
					try:
 | 
				
			||||||
    QgsCodeEditor.__attribute_docs__ = {'sessionHistoryCleared': 'Emitted when the history of commands run in the current session is cleared.\n\n.. versionadded:: 3.30\n', 'persistentHistoryCleared': 'Emitted when the persistent history of commands run in the editor is cleared.\n\n.. versionadded:: 3.30\n', 'helpRequested': 'Emitted when documentation was requested for the specified ``word``.\n\n.. versionadded:: 3.42\n'}
 | 
					    QgsCodeEditor.__attribute_docs__ = {'SEARCH_RESULT_INDICATOR': 'Indicator index for search results', 'sessionHistoryCleared': 'Emitted when the history of commands run in the current session is cleared.\n\n.. versionadded:: 3.30\n', 'persistentHistoryCleared': 'Emitted when the persistent history of commands run in the editor is cleared.\n\n.. versionadded:: 3.30\n', 'helpRequested': 'Emitted when documentation was requested for the specified ``word``.\n\n.. versionadded:: 3.42\n'}
 | 
				
			||||||
    QgsCodeEditor.languageToString = staticmethod(QgsCodeEditor.languageToString)
 | 
					    QgsCodeEditor.languageToString = staticmethod(QgsCodeEditor.languageToString)
 | 
				
			||||||
    QgsCodeEditor.defaultColor = staticmethod(QgsCodeEditor.defaultColor)
 | 
					    QgsCodeEditor.defaultColor = staticmethod(QgsCodeEditor.defaultColor)
 | 
				
			||||||
    QgsCodeEditor.color = staticmethod(QgsCodeEditor.color)
 | 
					    QgsCodeEditor.color = staticmethod(QgsCodeEditor.color)
 | 
				
			||||||
 | 
				
			|||||||
@ -98,11 +98,7 @@ A text editor based on QScintilla2.
 | 
				
			|||||||
    typedef QFlags<QgsCodeEditor::Flag> Flags;
 | 
					    typedef QFlags<QgsCodeEditor::Flag> Flags;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    static const int SEARCH_RESULT_INDICATOR
 | 
					    static const int SEARCH_RESULT_INDICATOR;
 | 
				
			||||||
%Docstring
 | 
					 | 
				
			||||||
Indicator index for search results
 | 
					 | 
				
			||||||
%End
 | 
					 | 
				
			||||||
      = QsciScintilla::INDIC_MAX - 1;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = QString(), bool folding = false, bool margin = false, QgsCodeEditor::Flags flags = QgsCodeEditor::Flags(), QgsCodeEditor::Mode mode = QgsCodeEditor::Mode::ScriptEditor );
 | 
					    QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = QString(), bool folding = false, bool margin = false, QgsCodeEditor::Flags flags = QgsCodeEditor::Flags(), QgsCodeEditor::Mode mode = QgsCodeEditor::Mode::ScriptEditor );
 | 
				
			||||||
%Docstring
 | 
					%Docstring
 | 
				
			||||||
 | 
				
			|||||||
@ -56,7 +56,7 @@ QgsCodeEditor.Flag.baseClass = QgsCodeEditor
 | 
				
			|||||||
QgsCodeEditor.Flags.baseClass = QgsCodeEditor
 | 
					QgsCodeEditor.Flags.baseClass = QgsCodeEditor
 | 
				
			||||||
Flags = QgsCodeEditor  # dirty hack since SIP seems to introduce the flags in module
 | 
					Flags = QgsCodeEditor  # dirty hack since SIP seems to introduce the flags in module
 | 
				
			||||||
try:
 | 
					try:
 | 
				
			||||||
    QgsCodeEditor.__attribute_docs__ = {'sessionHistoryCleared': 'Emitted when the history of commands run in the current session is cleared.\n\n.. versionadded:: 3.30\n', 'persistentHistoryCleared': 'Emitted when the persistent history of commands run in the editor is cleared.\n\n.. versionadded:: 3.30\n', 'helpRequested': 'Emitted when documentation was requested for the specified ``word``.\n\n.. versionadded:: 3.42\n'}
 | 
					    QgsCodeEditor.__attribute_docs__ = {'SEARCH_RESULT_INDICATOR': 'Indicator index for search results', 'sessionHistoryCleared': 'Emitted when the history of commands run in the current session is cleared.\n\n.. versionadded:: 3.30\n', 'persistentHistoryCleared': 'Emitted when the persistent history of commands run in the editor is cleared.\n\n.. versionadded:: 3.30\n', 'helpRequested': 'Emitted when documentation was requested for the specified ``word``.\n\n.. versionadded:: 3.42\n'}
 | 
				
			||||||
    QgsCodeEditor.languageToString = staticmethod(QgsCodeEditor.languageToString)
 | 
					    QgsCodeEditor.languageToString = staticmethod(QgsCodeEditor.languageToString)
 | 
				
			||||||
    QgsCodeEditor.defaultColor = staticmethod(QgsCodeEditor.defaultColor)
 | 
					    QgsCodeEditor.defaultColor = staticmethod(QgsCodeEditor.defaultColor)
 | 
				
			||||||
    QgsCodeEditor.color = staticmethod(QgsCodeEditor.color)
 | 
					    QgsCodeEditor.color = staticmethod(QgsCodeEditor.color)
 | 
				
			||||||
 | 
				
			|||||||
@ -98,11 +98,7 @@ A text editor based on QScintilla2.
 | 
				
			|||||||
    typedef QFlags<QgsCodeEditor::Flag> Flags;
 | 
					    typedef QFlags<QgsCodeEditor::Flag> Flags;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    static const int SEARCH_RESULT_INDICATOR
 | 
					    static const int SEARCH_RESULT_INDICATOR;
 | 
				
			||||||
%Docstring
 | 
					 | 
				
			||||||
Indicator index for search results
 | 
					 | 
				
			||||||
%End
 | 
					 | 
				
			||||||
      = QsciScintilla::INDIC_MAX - 1;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = QString(), bool folding = false, bool margin = false, QgsCodeEditor::Flags flags = QgsCodeEditor::Flags(), QgsCodeEditor::Mode mode = QgsCodeEditor::Mode::ScriptEditor );
 | 
					    QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = QString(), bool folding = false, bool margin = false, QgsCodeEditor::Flags flags = QgsCodeEditor::Flags(), QgsCodeEditor::Mode mode = QgsCodeEditor::Mode::ScriptEditor );
 | 
				
			||||||
%Docstring
 | 
					%Docstring
 | 
				
			||||||
 | 
				
			|||||||
@ -154,8 +154,7 @@ class GUI_EXPORT QgsCodeEditor : public QsciScintilla
 | 
				
			|||||||
    Q_FLAG( Flags )
 | 
					    Q_FLAG( Flags )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //! Indicator index for search results
 | 
					    //! Indicator index for search results
 | 
				
			||||||
    static constexpr int SEARCH_RESULT_INDICATOR
 | 
					    static constexpr int SEARCH_RESULT_INDICATOR = QsciScintilla::INDIC_MAX - 1;
 | 
				
			||||||
      = QsciScintilla::INDIC_MAX - 1;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Construct a new code editor.
 | 
					     * Construct a new code editor.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user