Re: [Anjuta-list] inserting newline takes a long time



Hi!

Anjuta calculates the indentation for the next line when you press
enter. There may be some situations where the algorithm is not very
clever and thus searches around a lot in the file.

File to check: plugins/language-support-c-cpp/plugin.c

Regards,
Johannes

Philipp Klaus Krause schrieb:
> Sometimes Anjuta hangs for nearly a minute when I press the enter key
> while editing a source file. This rarely happens inside some function,
> but very often among preprocessor directives and global declarations.
> Anjuta is at 100% CPU usage during this time (on a 1,73 Ghz Pentium M).
> 
> Philipp
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list
> 

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]