Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Андрей Пахомов
Notepad
Commits
b5efb72c
Commit
b5efb72c
authored
4 years ago
by
Илья Богданов
Browse files
Options
Download
Patches
Plain Diff
Замечания по highlighter.cpp
parent
c6467117
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
highlighter.cpp
+2
-1
highlighter.cpp
with
2 additions
and
1 deletion
+2
-1
highlighter.cpp
+
2
−
1
View file @
b5efb72c
...
...
@@ -4,7 +4,8 @@
Highlighter
::
Highlighter
(
QTextDocument
*
parent
)
:
QSyntaxHighlighter
(
parent
)
{
QFile
file
(
":xml/color.xml"
);
QFile
file
(
":xml/color.xml"
);
//!!! Это нужно считывать в основмном окне, т.к. там эти данные нужны.
//!!! Сюда надо передавать контейнер.
if
(
file
.
open
(
QFile
::
ReadOnly
|
QFile
::
Text
))
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets