prasannakadam / rest-client

Automatically exported from code.google.com/p/rest-client
0 stars 0 forks source link

Huge response stuck the ui when "Default enable Response Body syntax coloring" is enable #197

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make sure the "Default enable Response Body syntax coloring" is enable.
2. send request which return huge json response (mine was 1.4 mb)

What is the expected output? What do you see instead?
The json response is displayed but the ui is stuck. after some (long) time it 
get released but any try to touch the response make it stuck again (eg. scroll, 
select, format, etc...)
when the "Default enable Response Body syntax coloring" is disabled all works 
fine.

What version of the product are you using? On what operating system?
Version 3.2.2 on Windows 7
on version 2.5 it works fine.

Original issue reported on code.google.com by ro...@rotium.com on 8 Dec 2013 at 3:56

GoogleCodeExporter commented 8 years ago
2.x version we used jsyntaxpane, and from 3.x we are using rsyntaxtextarea 
(http://fifesoft.com/rsyntaxtextarea/) for syntax coloring. The issue you are 
facing seems to be due to this migration. I might need to dive deeper to 
understand how rsyntaxtextarea works to solve the issue you are facing.

Original comment by subwiz on 8 Dec 2013 at 4:52

GoogleCodeExporter commented 8 years ago
Also note that when the default body syntax coloring is disabled and I'm trying 
to manually enable it, the response does not get colors until doing json 
formatting.

Original comment by ro...@rotium.com on 9 Dec 2013 at 8:36

GoogleCodeExporter commented 8 years ago
Related to Issue 176.

Original comment by subwiz on 9 Dec 2013 at 8:25