Line Wrap

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 16 years and 2 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
djlurch
Posts: 294
Last visit: Tue Oct 29, 2013 11:04 am

Line Wrap

Post by djlurch »

Alex:Let me ask you a question. Are you so resistant about this because it would be hard to implement? That is sometimes the reason I am hesitant to incorporate certain functionalities in my application.Regarding the lack of posts, I just checked. Out of nearly 21,000 forum registrants, only 100 have posted on this forum. The lack of comments about this issue does not necessarily accurately reflect the usefulness of a feature. For example, I'm sure you've implemented many features that no one commented on or suggested.
User avatar
EBGreen
Posts: 18
Last visit: Wed Mar 20, 2013 8:45 am

Line Wrap

Post by EBGreen »

So you think that this:!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- ... dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>SAPIEN Technologies Support Forums: Line Wrap</title><meta name="generator" content="Web Wiz Forums" /><!--///* *******************************************************Application: Web Wiz Forums ver. 8.03Author: Bruce CorkhillInfo: http://www.webwizforums.comAvailable FREE: http://www.webwizforums.comCopyright: Bruce Corkhill
User avatar
EBGreen
Posts: 18
Last visit: Wed Mar 20, 2013 8:45 am

Line Wrap

Post by EBGreen »

The previous post illustrates the topic under discussion if I understand it correctly. The request is for PS to display code as it is shown in the first example instead of as it displays it now (the second example). Personally I think they both suck roughly equally and that as was suggested earlier, using a tool that will format the code for display vs. production is the best solution.
User avatar
djlurch
Posts: 294
Last visit: Tue Oct 29, 2013 11:04 am

Line Wrap

Post by djlurch »

EB:Without a doubt, the answer is YES. By using Control F, you can find a code snippet quickly within that code...then you can view the code without excessive sideways scrolling.Also, please note that my primary request is for PS to handle long lines properly (which is off-topic but related). As mentioned, it chokes on excessively long lines.
User avatar
Alexander Riedel
Posts: 8488
Last visit: Tue Apr 16, 2024 8:42 am
Answers: 20
Been upvoted: 37 times

Line Wrap

Post by Alexander Riedel »

I am hesitant to implementing functionality that does not necessarily address the needs of more than one person. Many many suggestions we get about very niche, specific needs lead eventually to a broad feature that addresses the underlying issue rather than a specific instance.

Understanding what the underlying issue is always requires time.
Please keep in mind that not ALL people post here, we have plenty of users emailing directly to me or other SAPIEN email accounts with their wishes and concerns.
We also actively everyday have folks scan a large number of forums, web sites, blogs, newsgroups and what-not to see what the actual requirements are.

That is why I asked here what the use cases are.

As for the code post above, I cannot see what that accomplishes. No one would edit the OUTPUT of an asp page anyway, the underlying ASP code is certainly formatted completely different.

So far my understanding is that you have to edit code from outside sources that look really ugly and unformatted and that you *may* have to put them back into a similar
ugly and unformatted way.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
djlurch
Posts: 294
Last visit: Tue Oct 29, 2013 11:04 am

Line Wrap

Post by djlurch »

Alex:Just thought about this. Maybe we could set a word wrap limit. If a line exceed x characters then put a + sign next to the line number. Clicking on the + sign would then apply the word wrap to that line.Just trying to think it through.
User avatar
EBGreen
Posts: 18
Last visit: Wed Mar 20, 2013 8:45 am

Line Wrap

Post by EBGreen »

The sample I posted was merely to post some HTML both with artificial line breaks and as a single line to show that neither is really better than the other imo. They both suck roughly equally.
User avatar
djlurch
Posts: 294
Last visit: Tue Oct 29, 2013 11:04 am

Line Wrap

Post by djlurch »

I don't use PS to edit the resultant output. I use it to view the code or analyze it for mistakes. EB: I totally disagree. Again, using Control F will take you to the right place (if you know where you're going) and you can view the code around it without scrolling.djlurch2006-12-07 12:34:36
User avatar
EBGreen
Posts: 18
Last visit: Wed Mar 20, 2013 8:45 am

Line Wrap

Post by EBGreen »

I won't dispute it, but I would say that it simply means that our brains must work differently. If I had to do anything that involved understanding the logic and structure of either of the above examples, then I would have to add formatting to figure it out. :)
User avatar
djlurch
Posts: 294
Last visit: Tue Oct 29, 2013 11:04 am

Line Wrap

Post by djlurch »

EB:No worries. Tomatoe, tomato.Here is a link to the code that PS chokes on:http://sothink.com/include/treemenu/sttree.jsWhen I say choke, in this case the cursor movement stutters and sometimes locks up for a few moments.Regardless of the coding styles that we use, others will put out code like this. In this case, I had to hack the code to resolve a bug that SoThink won't fix fast enough for me.
This topic is 16 years and 2 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.