Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| faq:smart-horizontal-cursor-position [2014/09/01 15:59] – created admin | faq:smart-horizontal-cursor-position [2018/04/13 14:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Smart Horizontal Cursor Position ====== | ====== Smart Horizontal Cursor Position ====== | ||
| + | When you do editing and moving the cursor line up/down HippoEDIT may behave not as you expected. The reason for it, smart logic, trying to keep you in most probable editing point in the next/ | ||
| + | ===== Example ===== | ||
| + | You have code like this, and would like to change a constant 10 | ||
| + | < | ||
| + | int a1 = 10|*(d + c); | ||
| + | int a2 = 20*(d + c + f); | ||
| + | </ | ||
| + | after edit, the cursor will be like this: | ||
| + | < | ||
| + | int a1 = 1000|*(d + c); | ||
| + | int a2 = 20*(d + c + f); | ||
| + | </ | ||
| + | in standard you will expect something like this | ||
| + | < | ||
| + | int a1 = 1000*(d + c); | ||
| + | int a2 = 20*(|d + c + f); | ||
| + | </ | ||
| + | but edit use " | ||
| + | < | ||
| + | int a1 = 1000*(d + c); | ||
| + | int a2 = 20|*(d + c + f); | ||
| + | </ | ||
| + | and by this save you two additional keystroke to move left. | ||
| + | |||
| + | < | ||
| + | |||
| + | <note tip>If you do not like the logic, you can switch back to standard behavior using following [[options: | ||