简体   繁体   中英

How do I highlight selected lines in Emacs ?

I have tried searching this simple question in Google. But didn't get the correct answer in the first few pages.

What I want to do is very simple: in a source file, highlight 5th line, and 15th line, and 23th line for comparison.

I believe there should be a short-cut for it. Could anybody tell me ?

Thanks!

我认为如果您只想比较不同行中的代码,则可以使用narrow-to-regionindirect-buffer解决方案。用法:Emacs的窄域间接

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM