How do you view the cursor's current line and column position in Xcode? This is irrespective of showing the Line Numbers on the active sheet's left side, how can you show 'Line, Column', or look it up.
Here is an example from Eclipse -
Click anywhere inside the text of the Get_Cursor_Pos routine and press the F5 key to run the Get_Cursor_Pos macro. You will get a message box displayed with the coordinates of the current position of the mouse pointer.
Once you're in Mouse settings, select Additional mouse options from the links on the right side of the page. In Mouse Properties, on the Pointer Options tab, at the bottom, select Show location of pointer when I press the CTRL key, and then select OK. To see it in action, press CTRL.
SetCursorPosition() Method in C# Console. SetCursorPosition(Int32, Int32) Method is used to set the position of cursor. Basically, it specifies where the next write operation will begin in the console window.
Setting the cursor position You can also hold down shift and then move the cursor with the arrow keys on the keyboard to select content. It has the same effect. The TinyMCE bookmarks this location with the Bookmark Manager API, and then loads the selected location later.
Too my knowledge, showing column number has been removed from new versions of Xcode. You can see line number and set column guide in text editor setting though.
If you are coding in c/c++ I strongly suggest switching to QtCreator or Clion. I personally prefer QtCreator since 1) it has a fakeVim key binding and 2) it is better at loading symbols and giving autocomplete suggestion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With