Skip to content

Commit fe96155

Browse files
committed
testing the addition of as additional backslash key
1 parent 07e9065 commit fe96155

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

CHANGE_LOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## 01/03/2023
4+
test of adding $E2 as an additional backslash key
5+
36
## 01/02/2023
47
0.10.50
58
Filename is now displayed before SavageEd on the titlebar

SavageEd.hpr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[HPR Settings]
33
tab=4
44
backups=0
5-
options=00000840
5+
options=00000040
66
Project Version=10
77
usetemp=false
88
useunits=true
@@ -24,7 +24,7 @@ console=false
2424
output=SavageEd.exe
2525
type=modular
2626
main=SavageEd.md
27-
debug=true
27+
debug=false
2828

2929
[SavageEd.link]
3030
-heap:0xF4240,0xF4240

src/SavageEd.hla

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ program SavageEd;
77

88
readonly
99

10-
version :string := "SavageEd v0.10.50";
10+
version :string := "SavageEd v0.10.51";
1111

1212
storage
1313
logfont :w.LOGFONT;
@@ -592,7 +592,7 @@ proc
592592
mov( false, alt_down );
593593
//bm=keycommands
594594
case( w.WM_KEYDOWN )
595-
//dbg.put("key down =>", wParam );
595+
dbg.put("key down =>", wParam );
596596
mov( wParam, eax );
597597
switch( eax )
598598

@@ -643,7 +643,13 @@ proc
643643
w.SendMessage( editebx.hred, w.EM_REPLACESEL,true, s_empty );
644644
jmp skip_proc;
645645
endif;
646-
646+
647+
case( $E2 )
648+
if( ctrl_down ) then
649+
command_cut_line();
650+
jmp skip_proc;
651+
endif;
652+
647653
case( w.VK_BSLASH )
648654
if( ctrl_down ) then
649655
command_cut_line();
@@ -2393,6 +2399,7 @@ proc
23932399
case(IDM_AUTO )
23942400

23952401
if( config.readBool( s_settings, s_autosave ) ) then
2402+
23962403

23972404
w.CheckMenuItem( window.hmenu, IDM_AUTO, w.MF_BYCOMMAND | w.MF_UNCHECKED );
23982405
mov( false, eax );

0 commit comments

Comments
 (0)