diff options
| -rw-r--r-- | src/Editor.cxx | 8 | ||||
| -rw-r--r-- | src/KeyMap.cxx | 1 | 
2 files changed, 9 insertions, 0 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index bccddf160..2dd329fa3 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3858,6 +3858,14 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) {  		Redraw();  		break; +	case SCI_SETZOOM: +		vs.zoomLevel = wParam; +		InvalidateStyleRedraw(); +		break; + +	case SCI_GETZOOM: +		return vs.zoomLevel; +	  	case SCI_GETEDGECOLUMN:  		return theEdge; diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx index 0dd4ec088..3a6a31f97 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -107,6 +107,7 @@ KeyToCommand KeyMap::MapDefault[] = {      {VK_RETURN, 	SCI_NORM,	SCI_NEWLINE},      {VK_ADD, 		SCI_CTRL,	SCI_ZOOMIN},      {VK_SUBTRACT,	SCI_CTRL,	SCI_ZOOMOUT}, +    {VK_DIVIDE,	SCI_CTRL,	SCI_SETZOOM},      //'L', 			SCI_CTRL,		SCI_FORMFEED,      {'L', 			SCI_CTRL,	SCI_LINECUT},      {'L', 			SCI_CSHIFT,	SCI_LINEDELETE}, | 
