diff options
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index 77e74c75e..a7aff6109 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3933,6 +3933,7 @@ void Editor::NotifyMacroRecord(unsigned int iMessage, uptr_t wParam, sptr_t lPar  	case SCI_VCHOMEWRAPEXTEND:  	case SCI_DELWORDLEFT:  	case SCI_DELWORDRIGHT: +	case SCI_DELWORDRIGHTEND:  	case SCI_DELLINELEFT:  	case SCI_DELLINERIGHT:  	case SCI_LINECOPY: @@ -4494,6 +4495,11 @@ int Editor::KeyCommand(unsigned int iMessage) {  			pdoc->DeleteChars(currentPos, endWord - currentPos);  		}  		break; +	case SCI_DELWORDRIGHTEND: { +			int endWord = pdoc->NextWordEnd(currentPos, 1); +			pdoc->DeleteChars(currentPos, endWord - currentPos); +		} +		break;  	case SCI_DELLINELEFT: {  			int line = pdoc->LineFromPosition(currentPos);  			int start = pdoc->LineStart(line); @@ -7171,6 +7177,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {  	case SCI_ZOOMOUT:  	case SCI_DELWORDLEFT:  	case SCI_DELWORDRIGHT: +	case SCI_DELWORDRIGHTEND:  	case SCI_DELLINELEFT:  	case SCI_DELLINERIGHT:  	case SCI_LINECOPY: | 
