It was conceptually wrong that an options page was supposed to set its
category's display name and icon.
Instead, categories are now explicitly registered with name and icon.
Change-Id: Ic10b3791c8068176f55470e6845ab4832160b8e7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
None of the output panes have margins. Makes it more similar to the
debugger log
Change-Id: Icc0a1287c88ca2d5876942b76cf4c0cec2cafc10
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
While the HistoryCompleter did have private functions to
change the History List length, these were not used or
accessible. This change adds an argument to allow the
caller to change the maximum size of the list.
Its used by the Lua REPL pane.
Change-Id: I6baf260db5da9d8fe58a37ff0af3ec59396a5be0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Allows users to use "%{Lua: ...}" to execute Lua code in their macros.
Adds "Macro" module with expand() and value() functions.
Change-Id: I6315b0646fbb503a77fd0cc631aed204abf3b699
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
The initialization/setup/... methods are typically called 'setupX...'
nowadays.
Change-Id: Iecdca160a54f60fbeb3dbffcc6d7aca20bc68682
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Since there may be many editors editing a single TextDocument
it is more useful to start at the TextEditor level.
Change-Id: Ic1c4ea76f22ab0d0741edd6f6ecc24d6befa17e6
Reviewed-by: hjk <hjk@qt.io>
* Replaced item editor with label to allow copy&paste
* Fixed removing global object
* Removed printing of readline prompt
* Removed keypress handler as it was unstable
Change-Id: I8091252400a3532ecc818404ad5a8edfa9451327
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Allows plugins to install packages they might need.
Change-Id: I4948dd0a6568e093fc35e4486d2e2a084090e103
Reviewed-by: David Schulz <david.schulz@qt.io>
Change IPlugin::fileName() and IPlugin::location to use
FilePath instead of QString.
Change-Id: If473ab1e258951735f93221cbd62c505f0727eb2
Reviewed-by: hjk <hjk@qt.io>
We want to make sure that the LuaEngine is deleted when the plugin
is removed.
We also derive LuaEngine from QObject so we can use it as a guard in
QObject::connect calls.
Change-Id: I6b0568f11bee283f880ede9432b2a9fe83014758
Reviewed-by: David Schulz <david.schulz@qt.io>
Adds basic support for writing Plugins using the lua scripting language.
Lua Plugins are registered just as native plugins are and can be enabled
or disabled via the plugin dialog.
see src/plugins/lua/README.md for further details.
Change-Id: I9f4d15e9632c46e1c6c132bcd0bbcdd70b150640
Reviewed-by: Eike Ziller <eike.ziller@qt.io>