Commit Graph

17 Commits

Author SHA1 Message Date
mae
0ed9043c34 tune auto-indentation of pasted text
auto-indentation of pasted text now only happens when complete
lines including a trailing paragraph separator are copied and pasted.

In addition, the reindent() functions ensures that the relative indentation
within the pasted block is preserved. This mechanism is now also used for
moving lines up/down.

Done with thorbjorn
2009-09-29 12:46:04 +02:00
mae
061865efa4 move auto parentheses handling into the cpp editor 2009-09-17 12:37:20 +02:00
mae
1c4fc0d7dd preliminary auto parentheses support 2009-09-15 17:04:33 +02:00
mae
16e7f0c16f be more conservative when reindenting code: only change the
actual whitespace when the indentation column changes.

Complete whitespace cleanup can still be done either automatically
on save (when configured) or when explicitely called with the
"Clean Whitespace" action from Edit/Advanced.
2009-09-09 16:16:46 +02:00
mae
f269031b5e Make indentation/tabbing more developer friendly:
- when doing backspace, preserve the previous indentation litterally
- when having auto-indentation turned off, simply repeat the previous
  indentation litterally instead of jumping to 0
2009-09-09 13:56:29 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Joel Nordell
ffd19fe8a0 XCode-style tab behavior 2009-05-20 11:10:06 -05:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
hjk
15ac83eda4 Fixes: fakevim: add flags to settings page 2009-01-23 18:21:36 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
mae
98f35da629 fix TabSettings::isIndentationClean(), it had false positives 2008-12-09 17:43:04 +01:00
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00