Permalink
Browse files

alt+l for λ

  • Loading branch information...
1 parent 5be8499 commit 7e8b5cd19f62724917376cb1428933d371148904 @gaborpapp gaborpapp committed Apr 22, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/GLEditor.cpp
View
@@ -770,6 +770,18 @@ void GLEditor::Handle(int button, int key, int special, int state, int x, int y,
}
}
else
+ if (mod&GLUT_ACTIVE_ALT)
+ {
+ switch(key)
+ {
+ // alt+l = lambda
+ case 'l':
+ m_Text.insert(m_Position, L"\x3bb");
+ m_Position++;
+ break;
+ }
+ }
+ else
{
if (key!=0)
{

0 comments on commit 7e8b5cd

Please sign in to comment.