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

 

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

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
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

994 views 2 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