Commit 6222e8ba authored by Christian Hergert's avatar Christian Hergert

sourceview: add matching <> brackets

We handle this during delete, but were not handling
things during insertion of the character.
parent ae0a98a3
...@@ -1593,6 +1593,10 @@ ide_source_view_maybe_insert_match (IdeSourceView *self, ...@@ -1593,6 +1593,10 @@ ide_source_view_maybe_insert_match (IdeSourceView *self,
ch[0] = '"'; ch[0] = '"';
break; break;
case GDK_KEY_less:
ch[0] = '>';
break;
#if 0 #if 0
/* /*
* TODO: We should avoid this when we are in comments, etc. That will * TODO: We should avoid this when we are in comments, etc. That will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment