LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2004, 10:28 PM   #1
cephlon
LQ Newbie
 
Registered: Oct 2003
Location: Chicago
Distribution: Suse
Posts: 17

Rep: Reputation: 0
Text editor moves at the speed of tortoise


My text editor is my most important program next to my browser, as its what I use all day. So I have certain requirments when it comes to my text editor. Things I used to live without but have grown so acustom to. Tabbed, syntax highlighting, fast, awesome search and replace, etc..
I have recenlty switched back to try Linux yet another time.

First let me say that I love Bluefish and Quanta. But I can't use these text editors because whenever I start to type my cpu shoots up to 100% and the text takes a second to or so to even show up. This is of course unacceptable. my system is not slow either. AMD 2.2XP, 512MB etc...The Cute editor is very fast, but a pain in the ass to configure. I can not find any documentation on configuring the editor so that it saves my preferences.

So if someone can either help me speed up Quanta, or point me to a guide on configuring Cute, I would be very very greatful. I am using Suse 9.1 if it matters.
 
Old 09-08-2004, 10:34 PM   #2
smithtodda
Member
 
Registered: Sep 2003
Location: 43° 8' N 89° 20' W
Distribution: SUSE primarily, but also Slackware, Fedora, Ubuntu, and KNOPPIX.
Posts: 59

Rep: Reputation: 15
I also am running SuSE 9.1 (Pro) on a very similar system (AMD Athlon XP 2400, 512 MB RAM, etc.) and I cannot recreate the problem. Bluefish and Quanta both work fine right out of the gate. First time I cracked them open, as a matter of fact. No delay in typing, no CPU maxout. I don't know what's going on in your situation. Have you any other ideas what it could be? Any other pertinent details you can think to add?
 
Old 09-09-2004, 01:08 AM   #3
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
if one edito goe 100% CPU time there may be a bug in the editor, if more than one then the underlying filesystem might be suspect ; check the disk out using fsck & keep a eye on the logs, e.g. #dmesg
 
Old 09-09-2004, 02:02 AM   #4
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
Update your video card driver, especially if you have an Nvidia card. They don't give away the source code so Linux distros won't ship with it, but instead have a somewhat crappy one. It sounds like your system has a problem with font rendering, assuming everything else works without a hitch, even with many applications open simultaneously. If one editor is superfast compared to the others, it must be doing something differently, like not anti-aliasing (blurring) fonts.

Simon
 
Old 11-11-2004, 09:25 PM   #5
mbeattie74
LQ Newbie
 
Registered: Nov 2004
Location: japan
Distribution: Debian Sarge & Sid
Posts: 22

Rep: Reputation: 15
I have the exact same problem with Quanta (3.3.1) - typing saturates the CPU, which is no slouch (P4 2.2). Bluefish (0.13) does not have the same problem.
Turning off anit-aliased fonts in KDE has little to no effect. Turning off syntax-highliting in Quanta reduces the CPU usage to idling, but is not an acceptable solution.
It may point towards a font-rendering problem, as mentioned by wipe. I wonder if cephlon could confirm which X drivers are being used? I'm currently using the NVidia drivers, with the following options if my XF86Config-4:

Code:
Section "Module"
#       Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "nvidia"
        Option          "NvAgp" "3"
        Option          "RenderAccel" "1"
        Option          "NoLogo" "1"
EndSection

Section "DRI"
        Mode    0666
EndSection
additional - I've found that while working with PHP files, entering text within quotation marks particularly saps CPU power, eg:
PHP Code:
$string="typing text very slowly... 
Closing the quotation marks, and then entering the text between allows the CPU to continue idling.

Last edited by mbeattie74; 11-11-2004 at 09:42 PM.
 
Old 11-11-2004, 10:07 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
for what it's worth i have Bluefish 0.13 and i do not have this problem at all....
it never uses more than like 0%
Quanta 3.2 because it is more busy and uses Qt text widget uses at most when i am typing 11% - 15%
in a flash every so often and then goes immediately back down..

Both programms use really different libs and implementations so the problem must be something underlying like the others have said and not a lib or app bug ???

it is possible of course to write a bad syntax highlighter that consumes all cpu cycles looping over the text looking for syntax but i don't think that's going on here either.
 
Old 11-19-2004, 04:02 AM   #7
mbeattie74
LQ Newbie
 
Registered: Nov 2004
Location: japan
Distribution: Debian Sarge & Sid
Posts: 22

Rep: Reputation: 15
Known bug

Actually, after a little digging around on bugs.kde.org I found that Quanta's php parsing problems are a known issue to the developers:
http://bugs.kde.org/show_bug.cgi?id=63000

Let's hope they get it sorted out soon, because for web applications it's the ideal solution with it's built-in project management and CVS interface.

Last edited by mbeattie74; 11-19-2004 at 04:05 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM
text editor Mig21 Linux - Software 17 07-07-2005 05:27 PM
x text editor monohouse Linux - Software 8 11-08-2004 06:09 AM
text editor dauphinfay Linux - General 2 02-29-2004 09:37 PM
Best Text Editor? Ekim Gram Linux - Software 4 05-24-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration