Allan Odgaard
4854139426
Remove use of document::run from tests
2016-07-16 13:13:44 +02:00
Allan Odgaard
4f4eef50f3
Don’t use ng::editor_for_document in tests
2016-07-16 13:13:43 +02:00
Allan Odgaard
bd3acf8e96
Pass lambda (to run commands) to editor_t instead of document_t
2016-07-16 13:13:43 +02:00
Allan Odgaard
36fedf5bee
Change most buffer helper functions to accept buffer_api_t
2016-06-13 13:01:10 +02:00
Allan Odgaard
30be46a166
Support discontinuous selections in command input API
2015-03-08 14:21:59 +07:00
Allan Odgaard
39b94e6ac3
Harmonize whitespace and add trailing newline
2014-04-14 14:26:52 +07:00
Allan Odgaard
d985a83845
Use runner_t::wait_for_command instead of runner_t::wait(true)
...
The latter API has been removed.
2014-03-29 09:57:09 +07:00
Allan Odgaard
c7ae7d1337
Add test for snippets with overlapping fields
...
See 4e1cdb4c9e for details.
2014-03-07 00:10:35 +07:00
Allan Odgaard
3064fb82b4
Change text::range_t → ng::range_t
2013-10-20 19:10:02 +02:00
Allan Odgaard
62db7aff11
Add comparison operators to what’s understood by ⌃T
2013-08-26 11:26:56 +02:00
Allan Odgaard
695ff4c703
Improve the “swap” functionality of ⌃T
...
See tests for details.
2013-08-24 20:28:16 +02:00
Allan Odgaard
bf1e92b865
Do not use global constructors for fixtures
2013-08-16 22:40:08 +02:00
Allan Odgaard
e9576e60f9
Let transpose detect and swap words
...
The detection is done by a regexp match of ‘\w+\W+\w+’ allowing the string to optionally be wrapped in round, square, or squiggly parentheses.
2013-08-09 23:13:58 +02:00
Allan Odgaard
6718a8a32c
Use libdispatch for threaded write to pipe
2013-07-26 23:09:14 +02:00
Allan Odgaard
6a4c0ff379
Update testing system for editor framework
2013-07-25 11:52:07 +02:00
Allan Odgaard
a6cf964e9f
Remove callback support from document::run
2013-05-12 11:09:16 +07:00
Allan Odgaard
ccf2414768
Add pwd argument to command runner
...
Previously this was only possible to change by setting PWD in the passed-in environment.
2013-05-12 11:09:15 +07:00
Allan Odgaard
36e612930d
Don’t setup variables in test proxy
2013-01-20 12:49:34 +01:00
Allan Odgaard
759b7d1ae5
Introduce ui_proxy_t::show_browser
2013-01-10 06:46:44 +01:00
Allan Odgaard
a7a633f993
Remove procedural API for load/save of session
...
Since everything about session is now contained in the DocumentController class there is no need for invoking this from elsewhere and thus no need for the previous indirection.
2013-01-10 06:46:43 +01:00
Allan Odgaard
1a3c9d5db9
Add missing const qualifier
2013-01-08 22:48:07 +01:00
Allan Odgaard
48616a7ea1
Make document_t::scope private
...
Ideally should be removed entirely but as document presently does load/save where we need scopes (for import/export commands), we need it internally.
2012-09-18 19:38:01 +02:00
Allan Odgaard
c26e5c2d36
Scope attributes are now given to editor_t
...
While presently it works the same, it allows us to provide better scope attributes e.g. for untitled documents (which lack SCM attributes).
2012-09-18 17:33:01 +02:00
Allan Odgaard
9894969e67
Initial commit
2012-08-09 16:25:56 +02:00