Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3c8a16a

Browse filesBrowse files
committed
Final doc tidy up and bug fix before 0.7
- gcc errors were not parsing correctly. It's still not perfect due to forward slash, but better than nothing.
1 parent 8fd1227 commit 3c8a16a
Copy full SHA for 3c8a16a

7 files changed

+161-114Lines changed: 161 additions & 114 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎PythonScript/src/ConsoleDialog.cpp‎

Copy file name to clipboardExpand all lines: PythonScript/src/ConsoleDialog.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ bool ConsoleDialog::parseGCCErrorLine(LineDetails *lineDetails)
808808
}
809809

810810
// Unescaped invalid char, so it's not a gcc error
811-
if (!isEscaped && !isValidFilenameChar(lineDetails->line[pos]))
811+
if (!(isEscaped || lineDetails->line[pos] == '/' || isValidFilenameChar(lineDetails->line[pos]) || (lineDetails->line[pos] == ':' && pos == 1)))
812812
{
813813
styleState = SS_EXIT;
814814
break;
Collapse file

‎PythonScript/src/CreateWrapper.py‎

Copy file name to clipboardExpand all lines: PythonScript/src/CreateWrapper.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def writeScintillaEnums(f, out):
494494
for name in f.enums:
495495
v = f.enums[name]
496496
if v.get('Values'):
497-
out.write('.. _{0}:\n.. class:{0}\n\n{0}\n{1}\n\n'.format(name.upper(), '-' * len(name)))
497+
out.write('{0}\n{1}\n\n.. _{0}:\n.. class:: {0}\n\n'.format(name.upper(), '-' * len(name)))
498498

499499
for val in v['Values']:
500500
out.write('.. attribute:: {0}.{1}\n\n'.format(name.upper(), val[0][len(v['Value']):].upper()))
Collapse file

‎docs/source/console.rst‎

Copy file name to clipboardExpand all lines: docs/source/console.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Console Object
5454

5555
.. attribute:: Console.editor
5656

57-
An :ref:``Editor`` object for the console window. This enables you to change colours, styles, even add and remove text if
57+
An :ref:`Editor` object for the console window. This enables you to change colours, styles, even add and remove text if
5858
you so wish, from the console window. Note that the console window is always left in a read-only state, so in order to change
5959
text, you would need to first perform a ``console.editor.setReadOnly(0)``. Any subsequent ``console.write`` or ``console.writeError``
6060
calls will make the console read-only again.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.