473,385 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

highliting current line

Hi, when jumping to a definition of a function in VB.Net 2005, Visual Studio
does not scroll to place the destination line in the center of the window. So
it could be anywhere. On my screen I can see nearly 100 lines at once and it
is annoying to have to search for where the text cursor is.

Is there any what to highlight the current line (the line in which the text
cursor is) ?
Or to put a frame around it?

Any hints are very welcome.

Jul 19 '06 #1
4 1198
I don't know of any, but the line number will appear at the bottom of the
IDE. That should help.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.
"Ingmar" <In****@discussions.microsoft.comwrote in message
news:49**********************************@microsof t.com...
Hi, when jumping to a definition of a function in VB.Net 2005, Visual
Studio
does not scroll to place the destination line in the center of the window.
So
it could be anywhere. On my screen I can see nearly 100 lines at once and
it
is annoying to have to search for where the text cursor is.

Is there any what to highlight the current line (the line in which the
text
cursor is) ?
Or to put a frame around it?

Any hints are very welcome.

Jul 20 '06 #2
I don't know of any, but the line number will appear at the bottom of the
IDE. That should help.
Thanks for the feedback, but unfortunately that does not help, as I do not
know where in the page that line is. (At least as long as the top line
visible is not the first line of the document)
Jul 20 '06 #3
Hi Ingmar,

Using Kevin's suggestion you could enable line numbers in Tools --Options.

Maybe a better architecture is in order? You can reduce the number of lines per file by encapsulating your code into objects that
are declared in separate files or you can use partial classes as a quick fix.

--
Dave Sexton

"Ingmar" <In****@discussions.microsoft.comwrote in message news:5A**********************************@microsof t.com...
>I don't know of any, but the line number will appear at the bottom of the
IDE. That should help.

Thanks for the feedback, but unfortunately that does not help, as I do not
know where in the page that line is. (At least as long as the top line
visible is not the first line of the document)

Jul 22 '06 #4
Nice ideas as well, but not practical either.

A quicker solution (what I now do often) is to hit shift+arrow up and it
selects the text from the current cursor to the next line up. That selection
has a blue background and is easy to see. And faster than any looking up a
line number on the bottom and then finding it on the side.

The better architecture is in order for Visual Studio 
Sickedit for example draws a box around the current line. That is an
excellent solution, but something that must be integrated into the editor.

Jul 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Trevor Fairchild | last post by:
This is so stupidly simple I can't believe I can't figure it out. I need to have vba code identify what line of the page I am currently on in an MS Word Document. Not which paragraph or...
11
by: Ken Varn | last post by:
I want to be able to determine my current line, file, and function in my C# application. I know that C++ has the __LINE__, __FUNCTION__, and __FILE___ macros for getting this, but I cannot find a...
3
by: xzzy | last post by:
A. I need to access: System.Web.HttpContext.Current.Cache but get this error: "Object reference not set to an instance of the object" B. System.Web.HttpContext.Current.Cache is accessible...
2
by: Chris Lasher | last post by:
Hi all, Using the pdb shell, after repeatedly entering 'l' (lowercase 'L'), how do I jump back to listing the current line again if I don't remember exactly what line my current line is? Do I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.