В Linux-версии поставлен перехват исключений по Ctrl-V
This commit is contained in:
parent
88d903bbed
commit
362e1e80c5
|
|
@ -15,7 +15,7 @@ internal static class RevisionClass
|
|||
public const string Major = "3";
|
||||
public const string Minor = "8";
|
||||
public const string Build = "3";
|
||||
public const string Revision = "3205";
|
||||
public const string Revision = "3206";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%MINOR%=8
|
||||
%REVISION%=3205
|
||||
%COREVERSION%=3
|
||||
%REVISION%=3206
|
||||
%MINOR%=8
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.8.3.3205
|
||||
3.8.3.3206
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.8.3.3205'
|
||||
!define VERSION '3.8.3.3206'
|
||||
|
|
|
|||
|
|
@ -224,14 +224,21 @@ namespace VisualPascalABC
|
|||
|
||||
public void Paste(bool canInsertInInputBox)
|
||||
{
|
||||
if (MainForm.OutputWindow != null && MainForm.OutputWindow.InputTextBox != null &&
|
||||
MainForm.OutputWindow.InputTextBox.Focused && canInsertInInputBox)
|
||||
try
|
||||
{
|
||||
MainForm.OutputWindow.InputTextBox.Paste();
|
||||
return;
|
||||
if (MainForm.OutputWindow != null && MainForm.OutputWindow.InputTextBox != null &&
|
||||
MainForm.OutputWindow.InputTextBox.Focused && canInsertInInputBox)
|
||||
{
|
||||
MainForm.OutputWindow.InputTextBox.Paste();
|
||||
return;
|
||||
}
|
||||
ICSharpCode.TextEditor.Actions.Paste paste = new ICSharpCode.TextEditor.Actions.Paste();
|
||||
paste.Execute(TextEditor.ActiveTextAreaControl.TextArea);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
ICSharpCode.TextEditor.Actions.Paste paste = new ICSharpCode.TextEditor.Actions.Paste();
|
||||
paste.Execute(TextEditor.ActiveTextAreaControl.TextArea);
|
||||
}
|
||||
|
||||
public void SetText(string text)
|
||||
|
|
|
|||
|
|
@ -156,7 +156,14 @@ namespace VisualPascalABC
|
|||
|
||||
public void ExecPaste()
|
||||
{
|
||||
CurrentCodeFileDocument.Paste(true);
|
||||
try
|
||||
{
|
||||
CurrentCodeFileDocument.Paste(true);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
internal void NavigationLocationChanged()
|
||||
|
|
|
|||
Loading…
Reference in a new issue