aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonhighlighter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Editor: move block related infos out of the layoutDavid Schulz2025-04-011-6/+4
| | | | | | | | | | All the static TextDocumentLayout functions operating on block user data are not related to the TextDocumentLayout. So move them to the TextBlockUserData and replace the member functions there with the static functions from TextDocumentLayout. Change-Id: Ief34a0dfce5917f064e5d06e661f2111f87f0aa7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Python: Move highlighter and indenter class definitions to .cpphjk2024-01-121-7/+23
| | | | | | Change-Id: Ib71d520977034ca66bd84c9188ffed5fe74e1ba0 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Python: Fix highlighting of parenthesesChristian Stenger2020-07-071-0/+12
| | | | | | | | This enables the PythonEditor to handle (un)matching parentheses correctly. Change-Id: I31516a5fee922de6b3cfc2254b209739bc42c540 Reviewed-by: David Schulz <david.schulz@qt.io>
* rename PythonEditor plugin to PythonDavid Schulz2019-07-171-0/+201
The plugin does not only contain a pure editor, but all kind of support for a programming language like project and run support. Change-Id: I1251367c8db2e7a54986415ffc5b860cb210de3c Reviewed-by: Christian Stenger <christian.stenger@qt.io>