| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2014-09-19 | Windows style newlines are actually \r\n not \n\r | Marc André Tanner | 5 | -22/+23 | |
| This is fiddely stuff, hopefully it doesn't break too much | |||||
| 2014-09-19 | Implement expand tab functionality, make tabwidth configurable | Marc André Tanner | 6 | -4/+68 | |
| If expandtab is enabled then inserted tabs are replaced by tabwidth amount of spaces. Both settings apply to all windows files and can be changed via: :set tabwidth n # where 1 <= n <= 8 :set expandtab (1|yes|true)|(0|no|false) | |||||
| 2014-09-18 | Fix :0 on command prompt to move to begin of file | Marc André Tanner | 1 | -1/+1 | |
| 2014-09-18 | Cleanup handling of action.count | Marc André Tanner | 1 | -12/+11 | |
| If no multiplier is given action.count is zero. This fixes 1G vs G. | |||||
| 2014-09-18 | Ignore tab key in command prompt for now | Marc André Tanner | 2 | -1/+3 | |
| 2014-09-18 | Do only open an empty buffer if the file does not exist | Marc André Tanner | 1 | -1/+1 | |
| Opening a file without having read permissions should fail. | |||||
| 2014-09-18 | Display error messages when loading a file fails | Marc André Tanner | 1 | -15/+18 | |
| 2014-09-18 | Clean up window splitting API | Marc André Tanner | 3 | -54/+75 | |
| 2014-09-17 | Update README with current operator support | Marc André Tanner | 1 | -3/+1 | |
| 2014-09-17 | Implement left shift operator | Marc André Tanner | 2 | -0/+30 | |
| 2014-09-17 | Implement right shift operator | Marc André Tanner | 2 | -0/+26 | |
| 2014-09-17 | Simplify text_object_line implementation | Marc André Tanner | 1 | -7/+1 | |
| 2014-09-16 | Fix scrolling direction of CTRL-{F,B} | Marc André Tanner | 1 | -2/+2 | |
| 2014-09-16 | This fixes warning with latest glibc (>= 2.19.90), which deprecated _BSD_SOURCE | Christian Hesse | 1 | -0/+1 | |
| warning: _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE | |||||
| 2014-09-16 | Fix compilation on OpenBSD | Gregor Best | 1 | -0/+2 | |
| Signed-off-by: Gregor Best <gbe@unobtanium.de> | |||||
| 2014-09-16 | Fix editing of files with length 0 | Gregor Best | 1 | -3/+5 | |
| Signed-off-by: Gregor Best <gbe@unobtanium.de> | |||||
| 2014-09-16 | Implement CTRL-{U,D,E,Y} in normal mode | Marc André Tanner | 4 | -40/+72 | |
| 2014-09-16 | Clean up cursor handling in window.[ch] | Marc André Tanner | 2 | -68/+107 | |
| 2014-09-16 | Import syntax rules from sandy | Marc André Tanner | 3 | -25/+184 | |
| 2014-09-15 | More efficient syntax highlighting, first match wins | Marc André Tanner | 5 | -34/+51 | |
| 2014-09-14 | Display current mode in window statusbar | Marc André Tanner | 2 | -11/+14 | |
| For now just display the modes which start with '-'. I want to keep the descriptive names of the other modes available for debugging purposes. | |||||
| 2014-09-14 | Fix save to absolute paths | Marc André Tanner | 1 | -9/+14 | |
| The save logic still needs changes to restore file permissions, ownership (if run as root) etc. | |||||
| 2014-09-14 | Add a dummy man page inorder to fix make install | Marc André Tanner | 1 | -0/+16 | |
| 2014-09-14 | Make byte based iterator API handle the whole range [0, size] | Marc André Tanner | 2 | -6/+34 | |
| Before this commit the valid range was [0, size) which represents the file content. For the position at EOF (=size) a NUL byte is returned which is not actually part of the underlying file. This should fix various movements / editing operations at the end of the file. For example Ctrl+w at the end of the command prompt. | |||||
| 2014-09-14 | Use EPOS where appropriate | Marc André Tanner | 1 | -4/+4 | |
| 2014-09-14 | All *_free(...) functions should accept a NULL argument | Marc André Tanner | 2 | -0/+4 | |
| 2014-09-14 | Fix clang static analyzer warnings | Marc André Tanner | 3 | -10/+22 | |
| 2014-09-13 | Rename OP_PASTE to OP_PUT | Marc André Tanner | 2 | -5/+5 | |
| 2014-09-13 | Introduce some helper functions dealing with Filerange | Marc André Tanner | 5 | -21/+36 | |
| 2014-09-13 | Rename text_insert_raw to text_insert | Marc André Tanner | 5 | -12/+7 | |
| 2014-09-13 | Introduce and use EPOS instead of (size_t)-1 | Marc André Tanner | 5 | -19/+21 | |
| 2014-09-13 | Make window_selection_get to return the correct range | Marc André Tanner | 1 | -1/+5 | |
| This makes the operator operate on the correct file range if executed from visual mode. The problem is that if the cursor is visible the selection seems larger than it actually is. The cell under the cursor is actually not part of the selection eventhough it is visually indistinguishable from it. The somewhat hacky way around this is to hide the cursor once selection is active and show it again once the selection is cleared. This will probably cause a headache if the cursor needs to be visible while a selection is active like for example in the command prompt. | |||||
| 2014-09-13 | Add a README | Marc André Tanner | 1 | -0/+518 | |
| This is for now just a mail originally sent to the suckless mailing list. | |||||
| 2014-09-13 | Fix 'G' movement to end of file | Marc André Tanner | 1 | -1/+1 | |
| action.count is 1 by default. notice that this breaks 1G which should move to the first line / start of file. | |||||
| 2014-09-13 | Add movements 'H', 'M', 'L' | Marc André Tanner | 4 | -0/+36 | |
| H moves to the n-th window line from top M moves to the middle window line L moves to the n-th window line from bottom | |||||
| 2014-09-13 | In normal mode 'r' should also replace new lines | Marc André Tanner | 1 | -1/+2 | |
| 2014-09-12 | Cleanup editor.h | Marc André Tanner | 1 | -5/+5 | |
| 2014-09-12 | Display a few error messages where appropriate | Marc André Tanner | 1 | -5/+19 | |
| 2014-09-12 | Use the new global keypress hook to hide user messages | Marc André Tanner | 1 | -3/+20 | |
| 2014-09-12 | Add a global keypress hook before any keybindings are checked | Marc André Tanner | 1 | -0/+5 | |
| If the registered function returns false, completely ignore the key. | |||||
| 2014-09-12 | Add facility to display a message to the user | Marc André Tanner | 2 | -1/+33 | |
| 2014-09-12 | Add some more API comments | Marc André Tanner | 1 | -2/+7 | |
| 2014-09-12 | Make sure that the state is consistent after an undo operation | Marc André Tanner | 1 | -0/+2 | |
| When performing an undo operation, further changes should not be accounted to the then active action. Therefore take a snapshot which resets txt->current_action to NULL. | |||||
| 2014-09-12 | Remove outdated comments | Marc André Tanner | 1 | -2/+0 | |
| 2014-09-12 | Fix loading of not yet existing files | Marc André Tanner | 1 | -1/+4 | |
| 2014-09-12 | Introduce text_filename_set | Marc André Tanner | 2 | -2/+8 | |
| This can be used to associate a given filename to a currently unnamed text. | |||||
| 2014-09-12 | Rename text_filename to text_filename_get | Marc André Tanner | 5 | -6/+6 | |
| 2014-09-12 | Restore cursor position after an undo/redo | Marc André Tanner | 4 | -16/+33 | |
| 2014-09-12 | Name modes more consistently | Marc André Tanner | 1 | -35/+40 | |
| 2014-09-12 | Take snapshot when leaving insert/replace mode | Marc André Tanner | 1 | -0/+12 | |
| Make sure we are able to restore text to whatever state was when we left insert / replace mode after an editing operation. | |||||
