Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Word Wrap and Markers
srobertjames
#1 Posted : Tuesday, December 25, 2012 4:24:13 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/25/2012(UTC)
Posts: 5

Was thanked: 2 time(s) in 2 post(s)
I have Visual Studio set to wrap long lines.

NCrunch puts its markers over the first char of these lines. How can I fix this?
Remco
#2 Posted : Tuesday, December 25, 2012 10:52:49 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
NCrunch places the markers as adornments embedded in the source code. This approach has several benefits, such as lower risk of alignment problems, simpler implementation and better clarity as the markers are closer to the lines of code they represent.

However, there are also drawbacks. Code that does not make use of indenting or is set to use word wrap can overlap with the markers (as you've described). There isn't really a way to fix this at the moment. A task exists in the backlog to introduce a configurable tray to hold the markers so that they don't overlap with the code. There is a chance that this may be introduced with a minor revision in NCrunch V1, although it looks more likely that it will be post-V1 (i.e. in the V2 release late next year). Sorry, I realise this doesn't solve your immediate problem.


Cheers,

Remco
srobertjames
#3 Posted : Wednesday, December 26, 2012 9:24:02 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/25/2012(UTC)
Posts: 5

Was thanked: 2 time(s) in 2 post(s)
Okay, thank you anyway. NCrunch is superb!

And if you can +1 the priority on this, it willbe appreciated here!
1 user thanked srobertjames for this useful post.
Remco on 12/26/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.046 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download