Skip to content

Commit

Permalink
Ctrl-A in tree to select all in scintilla
Browse files Browse the repository at this point in the history
  • Loading branch information
sepich committed Aug 23, 2015
1 parent c4bc575 commit 89ac7b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions SynNotes/Form.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions SynNotes/Form.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using System.Xml;
using System.Drawing.Drawing2D;
using System.Threading.Tasks;
using System.Diagnostics;

namespace SynNotes {

Expand Down Expand Up @@ -314,6 +315,10 @@ private void Form1_KeyDown(object sender, KeyEventArgs e) {
}
else if (e.KeyCode == Keys.Delete && tree.Focused) deleteSelected();
else if (e.KeyCode == Keys.F7 && e.Modifiers == Keys.None) createNote();
else if (tree.Focused && e.Modifiers == Keys.Control && e.KeyCode == Keys.A){
scEdit.SelectAll();
this.SelectNextControl(tree, true, true, true, true); //bc lack of scEdit.Focus;
}
}
#endregion hotkeys

Expand Down
2 changes: 1 addition & 1 deletion SynNotes/Form.resx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACM
CwAAAk1TRnQBSQFMAgEBCgEAAUABAQFAAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CwAAAk1TRnQBSQFMAgEBCgEAAUgBAQFIAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAATADAAEBAQABCAYAAQwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
Expand Down

0 comments on commit 89ac7b8

Please sign in to comment.