Andes Workshop

It is currently Fri Mar 29, 2024 4:10 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Ctrl+S使得cursor移至最前面
PostPosted: Fri Aug 31, 2012 12:26 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
在一般的Editor裡,
Ctrl+S為存檔。
但是在Andesight裡,
(Andesight v200 MCU及Andesight v200 STD beta均是)
例如我在空白的一行,
先按了三個tab之後,按Ctrl+S,
除了會存檔之外,它的cursor會跳到最前面,
讓使用者很不方便。

下面有圖更為清楚:
按Ctrl+S前:
Attachment:
p3.png
p3.png [ 8.65 KiB | Viewed 7868 times ]

按Ctrl+S後:
Attachment:
p4.png
p4.png [ 8.04 KiB | Viewed 7868 times ]


解決方法:
改變Andesight裡的存檔設定以避免這個情況。
Preference -> C/C++ -> Editor -> Save Actions
-> 口Remove trailing whitespace
Attachment:
p1.png
p1.png [ 11.34 KiB | Viewed 7868 times ]


將口Remove trailing whitespace的勾選取消。
存檔時,游標就不會移到最前面。
Attachment:
p2.png
p2.png [ 29.66 KiB | Viewed 7868 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group