Don't Change Selection if the mouse is down.
Don't hide the grid tools for RO Tables Disable individual methods for RO Tables on the Grid Tool Ribbon and Context Menu (Copy, Paste, Insert, Remove) Don;t allow edit mode if IsRoTable.
This commit is contained in:
1 parent
a1deb2a0ff
commit
526214e0b5
3 files changed
+15
-7
No files matched your search
@@ -834,6 +834,7 @@ namespace Volian.Controls.Library
|
||||
OnSetMenu(this, new StepRTBMenuEventArgs(inPsi?"PSI":"OpenContextMenu"));
|
||||
_ContextMenuStripChanged = false;
|
||||
CorrectSelectionAtEndOfLine();
|
||||
_MouseDown = true;
|
||||
}
|
||||
void StepRTB_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
@@ -1512,6 +1513,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private void HandleSelectionChange()
|
||||
{
|
||||
if (_MouseDown) return;
|
||||
if (_HandlingCtrlA) return;
|
||||
if (!_HandlingCtrlA && this.TextLength == this.SelectionLength && this.SelectedRtf.EndsWith("\\par\r\n}\r\n"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user