View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0034581||Lazarus||IDE||public||2018-11-21 09:12||2020-03-04 10:44|
|Reporter||Krzysztof Stępień||Assigned To||Bart Broersma|
|Status||resolved||Resolution||no change required|
|Summary||0034581: Suggestion - StringList Editor replace with code editor|
|Description||In Delphi there is a possibility to open text from StringList Editor of component properties in code editor. It is very useful while editing SQL code in TZQuery component. Moving it to code editor allows you to use tabs, code formatting, syntax coloring and other goodies.|
|Tags||No tags attached.|
|Fixed in Revision|
I tried the feature in Delphi. It is rather clumsy. There is no way to go back to the normal StringList editor once you opened the code editor.
How to implement it better? Ideas? Patches are welcome, too.
What's the idea?
Have a syntaxhighlighter in the editor, or all CodeTools as well?
The first can be easily implemented, the latter ...?
Bart, a code editor has both syntaxhighlighter and CodeTools features. It would be just one editor tab beside other tabs.
Indeed, how to recognize the syntax, for example SQL? How is it recognized in Delphi's editor for TZQuery?
Basically this is a good idea but IMO it shoud be implemented better than Delphi does.
Guessing the syntax is not the most difficult part.
Crude heuristics could do just fine for that.
And a popup menu to select highlighter on demand.
I don't like the idea of having this (basically a dialog) in "just another SE Tab".
And personally I don't like bloating the IDE in such a way.
||One option is to use SynEdit for the StringList editor. It would provide syntax highlight but not the other editor goodies.|
This is also done in Code Templates. Only basic highlight.
||Aren't Code Templates inserted into the code editor? Or maybe I misunderstand your meaning.|
It seems no devel feels the need to implement this.
Resolve as no change required?
If you provide a proper patch to implement this, feel free to re-open.
Otherwise please close.
|2018-11-21 09:12||Krzysztof Stępień||New Issue|
|2018-11-24 11:02||Juha Manninen||Note Added: 0112165|
|2018-11-24 11:28||Bart Broersma||Note Added: 0112166|
|2018-11-24 12:35||Juha Manninen||Note Added: 0112167|
|2018-11-24 12:38||Juha Manninen||Note Edited: 0112167||View Revisions|
|2018-11-24 15:26||Bart Broersma||Note Added: 0112170|
|2018-11-24 18:35||Juha Manninen||Note Added: 0112175|
|2018-11-24 22:26||Vojtech Cihak||Note Added: 0112176|
|2018-11-25 11:03||Juha Manninen||Note Added: 0112177|
|2020-02-09 00:22||Bart Broersma||Note Added: 0120960|
|2020-03-04 10:44||Bart Broersma||Assigned To||=> Bart Broersma|
|2020-03-04 10:44||Bart Broersma||Status||new => resolved|
|2020-03-04 10:44||Bart Broersma||Resolution||open => no change required|
|2020-03-04 10:44||Bart Broersma||LazTarget||=> -|
|2020-03-04 10:44||Bart Broersma||Note Added: 0121356|