Fix for infinite loop with inserting newlines and interpretKeyEvents:.
Fix for infinite loop with inserting newlines and interpretKeyEvents:.

Reviewed by me.

krodelin/cappuccino,tancred/cappuccino,FrankReh/cappuccino,tancred/cappuccino,280north/cappuccino,wangshijin/cappuccino,tancred/cappuccino,Dogild/cappuccino,akshell/cappuccino,deltaprojects/cappuccino,zittix/cappuccino,rgv151/cappuccino,akshell/cappuccino,AlexanderMazaletskiy/cappuccino,cacaodev/cappuccino,mrcarlberg/cappuccino,krodelin/cappuccino,daboe01/cappuccino,deltaprojects/cappuccino,daboe01/cappuccino,mrcarlberg/cappuccino,280north/cappuccino,tolmasky/cappuccino,cappuccino/cappuccino,Rosch/cappuccino,zittix/cappuccino,AlexanderMazaletskiy/cappuccino,kidaa/cappuccino,primalmotion/cappuccino,cacaodev/cappuccino,rgv151/cappuccino,AlexanderMazaletskiy/cappuccino,rgv151/cappuccino,rgv151/cappuccino,tancred/cappuccino,primalmotion/cappuccino,krodelin/cappuccino,Dogild/cappuccino,primalmotion/cappuccino,wangshijin/cappuccino,AlexanderMazaletskiy/cappuccino,enquora/cappuccino,akshell/cappuccino,daboe01/cappuccino,dgvivero/CappCoreData,primalmotion/cappuccino,zittix/cappuccino,cappuccino/cappuccino,tolmasky/cappuccino,wangshijin/cappuccino,mrcarlberg/cappuccino,krodelin/cappuccino,FrankReh/cappuccino,koamac/Cappuccino,FrankReh/cappuccino,zittix/cappuccino,FrankReh/cappuccino,dgvivero/CappCoreData,dgvivero/CappCoreData,zittix/cappuccino,wangshijin/cappuccino,cappuccino/cappuccino,FrankReh/cappuccino,Dogild/cappuccino,tolmasky/cappuccino,wangshijin/cappuccino,tancred/cappuccino,mrcarlberg/cappuccino,akshell/cappuccino,daboe01/cappuccino,tolmasky/cappuccino,FrankReh/cappuccino,cacaodev/cappuccino,Rosch/cappuccino,daboe01/cappuccino,krodelin/cappuccino,zittix/cappuccino,Rosch/cappuccino,280north/cappuccino,kidaa/cappuccino,AlexanderMazaletskiy/cappuccino,koamac/Cappuccino,Rosch/cappuccino,deltaprojects/cappuccino,zittix/cappuccino,wangshijin/cappuccino,mrcarlberg/cappuccino,deltaprojects/cappuccino,primalmotion/cappuccino,krodelin/cappuccino,deltaprojects/cappuccino,tancred/cappuccino,dgvivero/CappCoreData,kidaa/cappuccino,mrcarlberg/cappuccino,cacaodev/cappuccino,280north/cappuccino,enquora/cappuccino,enquora/cappuccino,280north/cappuccino,FrankReh/cappuccino,daboe01/cappuccino,eventualbuddha/cappuccino,cappuccino/cappuccino,cacaodev/cappuccino,kidaa/cappuccino,cacaodev/cappuccino,enquora/cappuccino,Dogild/cappuccino,enquora/cappuccino,daboe01/cappuccino,AlexanderMazaletskiy/cappuccino,kidaa/cappuccino,rgv151/cappuccino,eventualbuddha/cappuccino,koamac/Cappuccino,eventualbuddha/cappuccino,tolmasky/cappuccino,Dogild/cappuccino,mrcarlberg/cappuccino,cappuccino/cappuccino,deltaprojects/cappuccino,cacaodev/cappuccino,Rosch/cappuccino,cappuccino/cappuccino,koamac/Cappuccino,enquora/cappuccino,Dogild/cappuccino,Rosch/cappuccino,mrcarlberg/cappuccino,rgv151/cappuccino,eventualbuddha/cappuccino,rgv151/cappuccino,FrankReh/cappuccino,Rosch/cappuccino,kidaa/cappuccino,koamac/Cappuccino,krodelin/cappuccino,primalmotion/cappuccino,koamac/Cappuccino,Dogild/cappuccino,deltaprojects/cappuccino,enquora/cappuccino,cappuccino/cappuccino,primalmotion/cappuccino,dgvivero/CappCoreData