Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,928
Community Members
 
Community Events
176
Community Groups

Underscores sometimes don't appear in File Contents on the Search tab in SourceTree

Edited

Hi,

I'm not sure how long this has been occurring but just noticed that a line of text within the File Contents on the Search tab in SourceTree didn't include/display an underscore character:

  blah blah blah

that's in the actual file:

  blah_blah blah

The funny thing is that in the same, exact File Contents, other lines correctly include/display the underscore character.

Anyone else ever experience this some anomalous behavior?

TIA,

Art Bergquist

2 answers

Hi Ana,

Yes, what I described is consistent, viz.:

I'm not sure how long this has been occurring but just noticed that a line of text within the File Contents on the Search tab in SourceTree didn't include/display an underscore character:

  blah blah blah

that's in the actual file:

  blah_blah blah

The funny thing is that in the same, exact File Contents, other lines correctly include/display the underscore character.

Attached, please find various screen shots:

  • here's what the code in question looks like in the IDE (note that the underscore displays):

             UnderscoreNotMissingInSameCodeInIDE.PNG

  • I don't see the underscore, though, when I view the same, exact code section in SourceTree:

             MissingUnderscoreInSourceTree.PNG

  • elsewhere in the same file in SourceTree, I see an underscore:

          UnderscoreNotMissingInSameCodeInIDE.PNG

          very strange ...

  • here's the SourceTree version info. (via the 'About' dialog):

SourceTreeVersion.PNG

SourceTree Version 2.1.2.5

OS: Windows 7 Professional - Version 6.1 (Build 7601: Service Pack 1)

TIA,

Art

 

minnsey Atlassian Team Aug 10, 2017

Hi,

Is it possible that the 2 underscores are in fact different UTF characters?

If you copy a 'good' underscore over a 'bad' underscore does it then appear?

Thanks, Michael.

I'm thinking that's unlikely since I'm developing with Eclipse.

I'll have to try that.

Thanks again,

Art

0 votes
Ana Retamal Atlassian Team Jul 25, 2017

Hi Art! I've tried reproducing this issue but the underscores are being displayed correctly for me. Is this a consistent behaviour for you, or does SourceTree sometimes display the text with underscores and some other times without them?

Could you also send a screenshot of the actual text and a screenshot of what SourceTree is showing?

Lastly, please remember to provide your SourceTree version and which OS are you using.

Best regards,

Ana

Hello,

the same thing just happened to me. In this diff, all underscores are displayed as very thin lines - except for one that is invisible. (upper right spot, in the middle of "CONCLUSIVE SERVICE")

SourceTree_underscore.PNG

I'm using Windows 8, SourceTree 2.6.10.0

Another hint: My SourceTree window is scaled almost to the size of the desktop (because of another known issue: on full size it hides the taskbar). When I maximize the window, the missing underscore appears. But now another underscore is gone.

SourceTree_underscore_maximised_marked.PNG

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events