forked from qt-creator/qt-creator
Made font of search results match text editor font
Before it would use Courier on all platforms, which didn't always look nice. Now it uses the configured text editor font. The file paths are now also normal size, at least personally I don't see why they should use a larger font.
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
namespace Find {
|
||||
class SearchResultWindow;
|
||||
}
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
class FontSettings;
|
||||
@@ -65,6 +69,7 @@ public:
|
||||
|
||||
private slots:
|
||||
void invokeCompletion();
|
||||
void updateSearchResultsFont(const TextEditor::FontSettings &);
|
||||
|
||||
private:
|
||||
static TextEditorPlugin *m_instance;
|
||||
@@ -72,6 +77,7 @@ private:
|
||||
TextFileWizard *m_wizard;
|
||||
PlainTextEditorFactory *m_editorFactory;
|
||||
LineNumberFilter *m_lineNumberFilter;
|
||||
Find::SearchResultWindow *m_searchResultWindow;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user