Commit Graph

105 Commits

Author SHA1 Message Date
pistos 7201fe79a6 Changes for successful gem building.
Ebuild for 0.8.3 as well.
2006-12-06 21:08:47 +00:00
pistos b9e0eadbcc Re-org re: gem.
Updated 0.8.3.gemspec.
2006-12-06 18:50:06 +00:00
pistos 4e3f296909 Merged in changes done from 0.8.2 to 0.8.3 re: recovery from disk crash. 2006-12-06 05:41:18 +00:00
pistos 4a3013f85a Added use_magic_file.
Added some alternate keymappings.
2006-07-04 15:41:04 +00:00
pistos 2c0b4e1e60 Added printKeychain.
Augmented conf with some KDE 3.5 Konsole keychains.
2006-06-16 22:12:57 +00:00
pistos 14f89558e8 Altered "key" command in conf. Can use multiple spaces as a separator instead of
a semicolon.
Adjusted some conf entries to use new Konsole 1.6 key outputs.
2006-06-02 17:01:40 +00:00
pistos f8487355da Committed conf changes that should have been in there for 0.8.1. 2006-05-15 13:37:27 +00:00
pistos 71e49cea99 Reverted empty filename save bug, for purposes of release. 2006-05-13 21:47:37 +00:00
pistos 35ad19e089 Fixed mini-bug where saving an unnamed file with an empty name causes an error. 2006-05-13 19:27:15 +00:00
pistos 0387af5850 Adjusted Usage text a bit. 2006-05-07 22:55:21 +00:00
pistos 9e3cc3329b Made Readline clear a bit more on redraw. 2006-04-28 00:56:09 +00:00
pistos b11900b8ee Added operateOnString, operateOnLines, operateOnEachLine.
Added Buffer#selected_string.
Buffer#paste now accepts Strings, Arrays and to_s-able objects.
2006-04-27 19:05:15 +00:00
pistos 1d01f0a724 Added case sensitivity parameter to find command; defaults to case-insensitive.
Updated default conf a little, including case-sensitivite find examples.
2006-04-18 14:18:13 +00:00
pistos bc0343e6f9 goToLine also takes a +/- number of lines argument. 2006-04-12 20:59:45 +00:00
pistos c3b0ae4348 Reverted parsedIndent to check for unindentation all the time,
instead of preventing when immediately previous line is an indenter.
2006-04-03 13:25:15 +00:00
pistos bce89e739e Refactored a != nil != false line. 2006-03-28 15:50:52 +00:00
pistos 6856c9ca21 Fixed parsedIndent bug when @indenters not defined. 2006-03-28 03:31:57 +00:00
pistos 67d6cc11a8 Altered cursorReturn behaviour slightly, to consider find* commands as movement, too. 2006-03-27 19:36:42 +00:00
pistos 58b3a08bc4 goToLine command now supports a column argument.
goToLine command's line and column argument are now both optional.
2006-03-27 16:22:31 +00:00
pistos fc4322b54a Fixed some cursor stack bugs.
Fixed a readline history bug.
Added gem spec.
Moved conf into an etc directory.
2006-03-20 14:06:21 +00:00
pistos fff2cee009 Changed use of $0 to $PROGRAM_NAME. 2006-03-17 17:53:13 +00:00
pistos bf021bde78 Minor refactorings on parsedIndent. 2006-03-17 15:56:18 +00:00
pistos e2447af6c1 cursorReturn now indicates place in cursor stack on interaction line.
Initial position (on file open) is no longer pushed onto cursor stack.
2006-03-17 14:55:45 +00:00
pistos 2dadb9b43a Improved speed of indent and unindent. 2006-03-16 16:28:58 +00:00
pistos ec014cc0f3 Fixed parsedIndent logic in cases of adjacent indenter and unindenter. 2006-03-16 15:55:51 +00:00
pistos 7c6d39c07b Speed of parsedIndent on multiple lines improved. 2006-03-16 15:48:43 +00:00
pistos bbb577a29a replaceAll now sets modified flag. (ticket:60) 2006-03-15 19:06:01 +00:00
pistos eca39da68d Added SizedArray tests.
Refactored "direction" constants into symbols.
Added a cursor stack, for navigating back and forth between recently visited places in the file.
Introduced cursorReturn command (to move through the cursor stack).
Changed Diakonos.last_command into a SizedArray, for future considerations.
2006-03-15 18:50:12 +00:00
pistos cfb063d631 Added a @do_display variable to the Diakonos class, for use as a global "pen up, pen down" thing.
Renamed getSelectionMark to selection_mark.
Renamed references to @text_marks[ SELECTION ] and @text_marks[ 0 ].
Changed references of @mark_anchor to selection_mark.
Moved recordMarkStartAndEnd out of Buffer#display.
Changed bug report URL to New Ticket page of Trac.
Added choice iteration.
2006-03-08 21:07:50 +00:00
pistos 6f7a928ca1 Refactored uses_bos so that rdoc can get on with its work. 2006-02-28 16:43:50 +00:00
pistos b7a5efcd60 Altered display code to use a single-element queue.
This seemed to fix ticket:50.
2006-02-25 06:39:10 +00:00
pistos d3ac6d0993 Added collapseWhitespace command.
Updated Diakonos version in setup.rb.
Split up the SQL highlighting a bit.
Added a few things to diff highlighting.
2006-02-24 17:56:05 +00:00
pistos 813434bc03 getChoice now allows pageUp and pageDown, particularly useful for viewing reversion diffs. 2006-02-16 19:56:14 +00:00
pistos d17571314f Diff now shown before revert prompt.
Bang line must start with #! to be considered as a bang line (re: bangmasks).
2006-02-13 21:06:51 +00:00
pistos 2f79e5cb40 Fixed bug in deleteToEOL which put a non-Array in the clipboard. 2006-02-10 15:34:29 +00:00
pistos 95b2e584e7 Fixed issue 0000051 (delete line freeze).
Added a little bit of signal trapping.
2006-02-09 21:17:07 +00:00
pistos b7388f8fca Fixed String#keyCode so that chains work again. 2006-02-09 15:02:00 +00:00
pistos 0c4ce4b0bc Removed String#to_a and Fixnum#to_a.
Changed selected_text to use [ string ] instead of to_a.
2006-02-09 01:25:58 +00:00
pistos 674b80a324 Fixed nil-related bug in setKeyPath. 2006-02-08 22:36:08 +00:00
pistos 5a2d0a2fa2 Renamed getKeystroke to processKeystroke.
In typeCharacter, deleteSelection no longer displays.
2006-02-07 20:05:01 +00:00
pistos 3f98e581ae Refactored @keychains to be a hash tree instead of an array.
Now using deep_clone instead of dup for a number of cases.
Moved PRINTABLE_CHARACTERS sooner, with a short-circuit return statement.  (Didn't seem to help speed)
2006-02-07 18:50:03 +00:00
pistos 161062475c Threaded the display method again. 2006-02-03 21:19:23 +00:00
pistos c71ae43717 Added test_group_index.
Removed @display_thread, replaced with @redisplay flag.
Fixed custom colour definition by moving init_pair calls later down,
where they should be.
2006-02-03 20:46:54 +00:00
pistos 06ee315e4d Fixed yet more curses-related bugs. 2006-02-03 18:39:28 +00:00
pistos b6675f06e1 Strengthened test_indentation_level.
Added test_expandTabs.
indentation_level now uses expandTabs instead of a gsub.
expandTabs now uses Diakonos::DEFAULT_TAB_SIZE.
Moved some curses code into an initializeDisplay method.
2006-02-03 15:36:15 +00:00
pistos d1c40202df Refactored indentation_level not to rely on $diakonos.
Explicitly nillified some variables to quiet Ruby warnings.
2006-02-03 14:52:49 +00:00
pistos cae1c54652 Removed several "self" references out of class String.
Reorganized initialization code, moving curses drawing as late as possible.
2006-02-02 22:06:04 +00:00
pistos 448585a136 Added testing Rakefile.
Added string-test, beginning with test_subHome.
Removed parentheses from "catch (:found) do".
Changed self.gsub to just gsub inside String#subHome.
2006-02-02 21:37:05 +00:00
pistos ae6d81bd80 Renamed usesBOS to uses_bos.
Added another assertion to regexp-test.
2006-02-02 21:07:15 +00:00
pistos a1c43c53e4 Added test dir.
Added first test case.
Added "home on save" sample hook script (proc).
Fixed Regexp#usesBOS to return a boolean truly.
Added __FILE__ == $0 clause to diakonos.rb.
2006-02-02 20:59:33 +00:00