Same issue for me. Gedit is randomly a lot unresponsive to the keyboard while typing. This never occurs right after Gedit is opened, I have to typed at least bit before it happens.
Occurs on Ubuntu Precise (12.04) while editing Ada source files (small files). Was not so much slow on Ubuntu Maverick. Tried Medit, which does not suffer from the same issue -but which suffers from others issues), so don't believe it is due to the syntax highlighting, as as‑far as I know, Gedit and Medit use the same framework for syntax highlighting. Or else, if it's really due to syntax highlighting as some one above suggested, may be regex based syntax highlighting is not a good idea. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/818642 Title: response to typing is very slow with code highlight with some files Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Confirmed Bug description: When editing files with code highlight mode set to "php" (maybe the same happens with other modes too), gedit sometimes is ridiculously slow to respond to typing. That is, when you type, the text you type appears with a very noticeably (and annoying) delay. This seems to happen with some particular files more than others, so I attach one particular file with which I experience the issue. I guess the issue is triggered by some syntax pattern. I have some much bigger files that don't cause any trouble when editing them, so it is not just a matter of file size. It is reasonable to expect that code highlighting increases cpu consumption, but definitely not that much. I've used a few other editors with code highlight and NEVER seen one become so slow even with files a lot bigger than this And even if computing the highlight had a critical cost, then more priority should be given to typing response than to computing the highlights, e.g. by only recomputing highlighting when the keyboard is idle for a given fraction of a second or (if this doesn't happen) every n-th character and not for every single character, etc ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: gedit 2.30.3-1ubuntu1 ProcVersionSignature: Ubuntu 2.6.35-30.54-generic 2.6.35.13 Uname: Linux 2.6.35-30-generic i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Sat Jul 30 22:35:40 2011 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) ProcEnviron: PATH=(custom, no user) LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: gedit To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/818642/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

