I finally could reduce the undo stack size from the DConf editor, but
this changed nothing. That's not the keyboard, as everything is fine
from Nano. The workaround I'm using, is to use Komodo.

So far: it's not due to the undo stack, nor to syntax colouring, nor to
line length, nor to file size, although any of these may have an effect,
the behaviour occurs also without any of these.

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to