[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] Comment/Uncomment feature patch

From: Mike Scalora
Subject: Re: [Nano-devel] Comment/Uncomment feature patch
Date: Fri, 20 May 2016 07:35:04 -0600

On Thu, May 19, 2016 at 1:15 PM, Benno Schulenberg <address@hidden> wrote:

> But now that I think about it: what would be really cool is if we
> could bind this feature to a single key instead of to two: when all
> the marked lines are commented, then they are uncommented;
> otherwise, they are commented.  (Because it doesn't make sense,

Here's a first cut at a single-key comment/uncomment with the jetbrains heuristic (on top of my last patch). This is the logic
​ changes​ only
​I ​
didn't change the keybinding stuff
​ yet​
​ Maybe ​
​() or 
​() ​
would be more correct
​ for testing empty lines​
​What do you think? Doesn't add as many lines as I thought. Removing the 2nd key will subtract a few.


Attachment: jetbrains-style-c-unc.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]