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

0 votes

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

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

 

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

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

241 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot