- change: memory view and locals view use debug console's font settings
This commit is contained in:
parent
f53f79559d
commit
2dc8896fbe
1
NEWS.md
1
NEWS.md
|
@ -9,6 +9,7 @@ Version 0.8.1 For Dev-C++ 7 Beta
|
||||||
- fix: if the proceeding line is a comment, current line should not recalculate indent
|
- fix: if the proceeding line is a comment, current line should not recalculate indent
|
||||||
- fix: if the proceeding line ends with ':' in comments, current line should not indent
|
- fix: if the proceeding line ends with ':' in comments, current line should not indent
|
||||||
- enhancement: right click the problem set name label to rename it
|
- enhancement: right click the problem set name label to rename it
|
||||||
|
- change: memory view and locals view use debug console's font settings
|
||||||
|
|
||||||
Version 0.8 For Dev-C++ 7 Beta
|
Version 0.8 For Dev-C++ 7 Beta
|
||||||
- fix: find in the current file is not correcly saved in the search history
|
- fix: find in the current file is not correcly saved in the search history
|
||||||
|
|
|
@ -1055,9 +1055,11 @@ void MainWindow::updateCompilerSet()
|
||||||
|
|
||||||
void MainWindow::updateDebuggerSettings()
|
void MainWindow::updateDebuggerSettings()
|
||||||
{
|
{
|
||||||
ui->debugConsole->setFont(QFont(
|
QFont font(pSettings->debugger().fontName(),
|
||||||
pSettings->debugger().fontName(),
|
pSettings->debugger().fontSize());
|
||||||
pSettings->debugger().fontSize()));
|
ui->debugConsole->setFont(font);
|
||||||
|
ui->txtMemoryView->setFont(font);
|
||||||
|
ui->txtLocals->setFont(font);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::checkSyntaxInBack(Editor *e)
|
void MainWindow::checkSyntaxInBack(Editor *e)
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
#include <QScreen>
|
||||||
|
|
||||||
const char ValueToChar[28] = {'0', '1', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
|
const char ValueToChar[28] = {'0', '1', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
|
||||||
'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r',
|
'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r',
|
||||||
|
@ -1142,7 +1143,7 @@ void Settings::Editor::doLoad()
|
||||||
mGutterLineNumbersStartZero = boolValue("gutter_line_numbers_start_zero",false);
|
mGutterLineNumbersStartZero = boolValue("gutter_line_numbers_start_zero",false);
|
||||||
mGutterUseCustomFont = boolValue("gutter_use_custom_font",false);
|
mGutterUseCustomFont = boolValue("gutter_use_custom_font",false);
|
||||||
mGutterFontName = stringValue("gutter_font_name","consolas");
|
mGutterFontName = stringValue("gutter_font_name","consolas");
|
||||||
mGutterFontSize = intValue("gutter_font_size",QGuiApplication::font().pointSize());
|
mGutterFontSize = intValue("gutter_font_size",14);
|
||||||
mGutterFontOnlyMonospaced = boolValue("gutter_font_only_monospaced",true);
|
mGutterFontOnlyMonospaced = boolValue("gutter_font_only_monospaced",true);
|
||||||
|
|
||||||
//copy
|
//copy
|
||||||
|
@ -2993,7 +2994,7 @@ void Settings::Debugger::doLoad()
|
||||||
mShowAnnotations = boolValue("show_annotations",false);
|
mShowAnnotations = boolValue("show_annotations",false);
|
||||||
mFontName = stringValue("font_name","Consolas");
|
mFontName = stringValue("font_name","Consolas");
|
||||||
mOnlyShowMono = boolValue("only_show_mono",true);
|
mOnlyShowMono = boolValue("only_show_mono",true);
|
||||||
mFontSize = intValue("font_size",10);
|
mFontSize = intValue("font_size",12);
|
||||||
mUseIntelStyle = boolValue("use_intel_style",true);
|
mUseIntelStyle = boolValue("use_intel_style",true);
|
||||||
mBlendMode = boolValue("blend_mode",true);
|
mBlendMode = boolValue("blend_mode",true);
|
||||||
mSkipSystemLibraries = boolValue("skip_system_lib",true);
|
mSkipSystemLibraries = boolValue("skip_system_lib",true);
|
||||||
|
|
Loading…
Reference in New Issue