* unify context menu of various sql editors, by supporting all contained editors instead of searching for one with the name "SynMemoBody"

* disable actions which need to modify the contents on readonly editors
* add "save to textfile" and "un/comment" actions to the unified context menu
This commit is contained in:
Ansgar Becker
2017-05-18 13:10:59 +00:00
parent 7a48774fe0
commit a50c21a383
6 changed files with 41 additions and 79 deletions

View File

@ -44,10 +44,6 @@ type
btnMoveUpParam: TToolButton;
btnMoveDownParam: TToolButton;
lblDisabledWhy: TLabel;
popupSQLmemo: TPopupMenu;
Selectall1: TMenuItem;
Copy1: TMenuItem;
Saveastextfile1: TMenuItem;
spltTop: TSplitter;
procedure comboTypeSelect(Sender: TObject);
procedure btnSaveClick(Sender: TObject);