Author Topic: slow editor  (Read 3866 times)

Offline Kaijun

  • Multiple posting newcomer
  • *
  • Posts: 25
slow editor
« on: May 06, 2015, 11:15:27 am »
Sometimes I experience slow response if I click file tab to look at different file. In my feeliing, CB has small buffer for opened files where the Symbols is set to current file's symbols.
I am using CB13.12 on Fedora 20.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: slow editor
« Reply #1 on: May 06, 2015, 01:27:40 pm »
Can you reproduce the problem reliably with some particular files?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Kaijun

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: slow editor
« Reply #2 on: May 06, 2015, 04:28:22 pm »
Yes, it can be reproduced if I change file view, there is no response for mouse click until some time.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: slow editor
« Reply #3 on: May 06, 2015, 04:56:49 pm »
Can you move these files in a simple project and share it with us?
Also describe exact steps needed to reproduce the problem.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Kaijun

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: slow editor
« Reply #4 on: May 07, 2015, 03:29:50 pm »
It is easy to reproduce if you put many files in a project, open around 10 big files, then switch file, you can not scroll some files, Here is example https://gstreamer.ti.com/gf/project/gstreamer_ti/scmsvn/?action=browse&path=%2Fbranches%2FBRANCH_RELEASE_1_02%2Fgstreamer_ti%2Fti_build%2Fticodecplugin%2F.
my laptop has 4GB memory.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: slow editor
« Reply #5 on: May 07, 2015, 08:17:51 pm »
Can you make a project file and post exact steps to reproduce the problem?

Have you tried to disable code completion plugin to see if it is causing the slowdown?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Kaijun

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: slow editor
« Reply #6 on: May 21, 2015, 11:42:13 am »
Yes, the completion plugin slows down the editor, any way to improve it?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: slow editor
« Reply #7 on: May 25, 2015, 09:14:30 am »
Probably you have enable"parse while typing"in the cc options? If so, disable this option and try again...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ