Andes Workshop
http://forum.andestech.com/

Ctrl+S使得cursor移至最前面
http://forum.andestech.com/viewtopic.php?f=23&t=614
Page 1 of 1

Author:  cindy [ Fri Aug 31, 2012 12:26 pm ]
Post subject:  Ctrl+S使得cursor移至最前面

在一般的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 7941 times ]

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


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


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

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/