News:

Download Pelles C here: http://www.pellesc.se

Main Menu

SelectLine

Started by John Z, May 06, 2026, 11:12:10 AM

Previous topic - Next topic

John Z

Here is a simple add-in, which may or may not be useful for anyone's needs.

Looking for an easy way to select a line?  This might be your solution.

SelectLine is an addin that makes it simple to select an entire line or any portion of a line from the current cursor location to the end of the line, excluding the new line character.  Use the Main Menu - Source - Select Line, or place the cursor and right click to get the pop-up source menu and click 'Select Line'.

That's it - small add-in DLL with a small feature, also uses TimoVJL's alternative DLLmain

Project sources attached (next post below), easy to build or use existing SelectLine.dll

John Z

John Z

Minor update to build a version that always selects the entire line regardless of the cursor position in the line.  To build this way define ALWAYS_WHOLE before building.

Original build a cursor in the middle will select from the cursor to the EOL.
An ALWAYS_WHOLE build a cursor in the middle, or anywhere in the line, selects the entire line.

John Z