Skip to content

Commit 978e23b

Browse files
Add FreeCAD FCMacro extension to the python highlighting definition
Summary: Add FreeCAD FCMacro extension to the python highlighting definition. They are python scripts see: https://www.freecadweb.org/wiki/Macros Test Plan: Open an FCMacro file and it should have correct highlighting. Reviewers: #framework_syntax_highlighting, cullmann Reviewed By: #framework_syntax_highlighting, cullmann Subscribers: cullmann, kwrite-devel, kde-frameworks-devel Tags: #kate, #frameworks Differential Revision: https://phabricator.kde.org/D27486
1 parent fb8e0b2 commit 978e23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/syntax/python.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<!-- v2.07 add support for %prog and co, see bug 142832 -->
2020
<!-- v2.08 add missing overloaders, new Python 3 statements, builtins, and keywords -->
2121
<!-- v2.29 recognize escape sequenzes correctly -->
22-
<language name="Python" version="10" style="python" indenter="python" kateversion="5.0" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python;text/x-python3" casesensitive="1" author="Michael Bueker" license="">
22+
<language name="Python" version="11" style="python" indenter="python" kateversion="5.0" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript;*.FCMacro" mimetype="application/x-python;text/x-python;text/x-python3" casesensitive="1" author="Michael Bueker" license="">
2323
<highlighting>
2424
<list name="import">
2525
<item>import</item>

0 commit comments

Comments
 (0)