• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Site's code mangles text

 
Rancher
Posts: 5008
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: 15266
349
  • 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
Rancher
Posts: 5008
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: 78677
374
  • 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: 27489
195
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
Rancher
Posts: 5008
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: 78677
374
  • 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
Rancher
Posts: 5008
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.
 
Bartender
Posts: 1737
63
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: 23735
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
Rancher
Posts: 5008
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: 23735
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: 23735
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: 23735
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?
 
What are your superhero powers? Go ahead and try them on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic