• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Site's code mangles text

 
Master Rancher
Posts: 4465
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would add a comment to the code here:

Look at SPACE in above

See my last post on this thread: https://coderanch.com/t/80/744361/java/errors
 
Saloon Keeper
Posts: 13280
292
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see no issues. Can you describe the problem?
 
Norm Radder
Master Rancher
Posts: 4465
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In this text in the above:
The C in SPACE is replaced by an icon: box containing ?

An observation:  The ? box is at the last shown character of the text displayed for the code.  When the code is shifted to the left, the ? box stays over the C instead of going to the end.  Clicking on the ?box brings up the SyntaxHighlighter display window.
 
Marshal
Posts: 74042
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't see that, but I can see a buff box containing a ? instead of the first / before the comment. Only in the thread you quoted, not here. No idea what is causing it. Sorry.
 
Saloon Keeper
Posts: 24314
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah, I've seen that artefact before.

What's interesting is that the "?" box is actually a hyperlink to this topic.
 
Norm Radder
Master Rancher
Posts: 4465
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Changing the Chrome browser's zoom factor changes what is displayed in the [code] box and moves the place where the boxed ? is shown relative to the text.  The boxed ? is always at the end of the [code] box.
 
Campbell Ritchie
Marshal
Posts: 74042
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a ? at the top right of every [code] box.If you click the ?, you get a pop-up with acknowledgements to whoever wrote the UBB for code boxes. Do you mean that if you write long lines, the ? is embedding itself into the code?
 
Norm Radder
Master Rancher
Posts: 4465
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

write long lines, the ? is embedding itself into the code?


Yes.  It looks like the ? location is set for the initial display and may be in the midst of the text.  When the line is shifted to the left, the ? stays positioned in the text.  It seems like the ? should not move and stay at the right end of the code box.
 
Saloon Keeper
Posts: 1306
40
Eclipse IDE Postgres Database C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Norm Radder wrote:

write long lines, the ? is embedding itself into the code?


Yes.  It looks like the ? location is set for the initial display and may be in the midst of the text.  When the line is shifted to the left, the ? stays positioned in the text.  It seems like the ? should not move and stay at the right end of the code box.



Hey, I'd noticed this but hadn't got anywhere on creating an actionable bug report.
It was really weirding me out.

I tried to get used to it until someone else noticed or I could say something more...actionable about it.
 
Trailboss
Posts: 23377
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been out for a week and am now catching up.

Please help me to understand the issue.
 
Norm Radder
Master Rancher
Posts: 4465
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The ? at the end of the text on the first line inside of code tags moves with the text. If the text is moved while viewing, the ? moves with the text instead of staying at the end of the line.
 
paul wheaton
Trailboss
Posts: 23377
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator








 
paul wheaton
Trailboss
Posts: 23377
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
paul wheaton
Trailboss
Posts: 23377
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, I see it now.  

And of our staff devs see how it can be mended in the code?
 
reply
    Bookmark Topic Watch Topic
  • New Topic