|
From: Andre B. <and...@gm...> - 2008-01-16 12:20:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, as far as I can see. Your regex does release the backtracking-demons from hell. This causes the regex search to consume all the cpu cycles (so it looks like jEdit hangs) and you're JVM to allocate more and more memory (my jEdit allocated around 170MB of ram for a 780 byte file). jEdit will be reusable after the search io-thread has been killed du to out of memory exception. Maybe you could try XSearch plugin as describe in the JEdit user manual or rephrase you're regex. Andre James schrieb: | definitely happens to me as well. | | I can see why it would be a useful search. | | James | | ------------------------------------------------------ | | Valentines Day 2008 | <http://www.houseintohome.co.za/gifts/valentines-day-2008/> | | On Jan 15, 2008 8:20 PM, Jesse Pavel <jp...@al... | <mailto:jp...@al...>> wrote: | | Hello, | | On my machine here, doing a "Replace All" with a regexp like | | ^\s* | | | (replacing it with nothing), causes JEdit to hang every time. | | Can someone confirm? | | ~Jesse | | | - ------------------------------------------------------------------------- | This SF.net email is sponsored by: Microsoft | Defy all challenges. Microsoft(R) Visual Studio 2008. | http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ | -- | ----------------------------------------------- | jEdit Developers' List | jEd...@li... | <mailto:jEd...@li...> | https://lists.sourceforge.net/lists/listinfo/jedit-devel | | | | ------------------------------------------------------------------------ | | ------------------------------------------------------------------------- | This SF.net email is sponsored by: Microsoft | Defy all challenges. Microsoft(R) Visual Studio 2008. | http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ | - -- - -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d-(--) s++:-a- c++(++) UL+++(+) P--- L++ ! EW++ !N !o K? w--- O@ M? V? PS+ PE- Y+ PGP+++ t+ 5++ X++ R+ tv+ b++ DI- D+ Ge+++ hr(-) y+(+) - ------END GEEK CODE BLOCK------ Yoda: dunkel die andere Seite ist ... sehr dunkel Obiwan: Jaja, schon gut. Jetzt iss endlich den Toast - ------------------------------- My public key can be found at ~ http://www.keyserver.net my fingerprint is ~ 302C FD91 2CE0 487E E086 EEBC D8D9 2865 E32F 4D56 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjfaD29koZeMvTVYRCJJwAKCOEKPZniGRF2XfEZ1hAaZdTT/bmgCfT5gn Q+aEE7ZRS6s1PN+SUb/RR/g= =tYe/ -----END PGP SIGNATURE----- |