- bumped requirement to Symfony 5
- bumped requirement to PHP 7.2
- added support for Symfony 4
- removed final
- added support to Symfony 3
- added support to PHP 7
- updated to phpspec 2.4
- updated to PHPUnit 4.5
- added support to PHPUnit 5
- added documentation to upgrade to 2.0
- added Text#map
- added deprecation messages
- added an optional filename argument to Editor#save
- removed TextFactory
- removed Text#__construct
- removed LineBreak
- added Text::fromArray
- added Text::fromString
- added StringUtil::detectLineBreak
- added Text#decrementCurrentLineNumber
- added Text#incrementCurrentLineNumber
- added PatternNotFoundException
- added NotSupportedException
- added InvalidLineNumberException
- added InvalidArgumentException
- added IOException
- added FileNotFoundException
- added DifferentLineBreaksFoundException
- added CommandNotFoundException
- added Exception
- added ContentFactory
- added LineReplaceAllCommand
- added Editor#run
- fixed BC break by making command constructor arguments optional
- added mix of line break management
- fixed text first line getter setter
- fixed LineRemoveCommand using array_splice
- added LocationSanitizer
- added TextSanitizer
- added InputSanitizer interface
- fixed line number after line removal
- fixed line numbers after line removal
- added tests for search relative to the first line
- added tests for line search with the immediate line above
- fixed Text to actually throw InvalidLineNumberException
- fixed LineSearchStrategy#findAbove
- fixed passing of 0 as location
- fixed order of arguments in PatternNotFoundException
- fixed message in NotSupportedException and PatternNotFoundException
- deprecated string support from LineReplaceCommand
- deprecated has from Editor
- added callback support to LineReplaceCommand
- added hasAbove and hasBelow to Editor
- added loggable exceptions
- added line getter and setter to Text
- added priority to Search Strategies
- updated documentation
- added Text length
- lowered requirements
- fixed PSR4
- added keywords
- added @pyrech to authors
- added totalLineNumber to Text
- added safe checks
- renamed under with below
- removed File prefix from Editor's open/save
- moved FileFactory into Filesystem
- removed newText from Editor
- Updated EditorBuilder with extensible only services
- Removed api tag from services
- Moved EditorBuilder into Service
- Moved Filesystem into Service
- Moved TextFactory into Service
- Moved FileFactory into Service
- Moved TextToPhpConverter into Service
- Renamed PhpContentConverter to TextToPhpConverter
- Removed ContentConverter interface
- renamed LineContentConverter to LineBreak
- used Text instead of File
- removed constructor API
- removed File read and write
- injected lines instead of content in File
- used FileFactory in Filesystem
- created FileFactory
- made File a Text
- suffixed Editor open/save with "File"
- added newText in Editor
- created TextFactory
- created Text
- renamed
SearchStrategy
previous
/next
toabove
/under
- renamed
Editor
addBefore
/addAfter
toinsertAbove
/insertUnder
- renamed
Editor
changeTo
torename
- renamed
Editor
jumpUpTo
/jumpDownTo
tojumpAbove
/jumpUnder
- improved the vocabulary with
Actions
,Directions
andLocation
- fixed current line update's responsability in commands
- removed
changeTo
fromFile
- fixed Insight analysis 15
- removed
SubstringSearchStrategy
- removed
replaceWith
fromEditor
- added
LineInsertAboveCommand
- added
LineInsertUnderCommand
- removed
LineInsertCommand
- moved line management from
Editor
to commands - renamed
UnsupportedCommandException
intoCommandNotFoundException
- added before/after to the
Editor
jumpTo methods - removed
FactoryMethod
- removed
SearchStrategy
'shas
method - added before/after to the
SearchStrategy
find methods - added abstract class
LineSearchStrategy
- renamed
LineSearchStrategy
toSameSearchStrategy
- moved search exception throwing from
Search
to theEditor
- added location for
Editor
's manipulation methods - moved
NotSupportedException
fromEngine
toSearch
- replaced
ReplaceEngine
withCommandInvoker
- removed
ReplaceStrategy
- added
InsertCommand
- added
RemoveCommand
- added
ReplaceCommand
- added
PhpSearchStrategy
- moved
SearchEngine
from theEngine
namespace to theSearch
namespace - moved
ReplaceEngine
from theEngine
namespace to theReplace
namespace
- removed
StaticContainer
in favor ofEditorBuilder
andEditorFactory
- added
SubstringSearchStrategy
- fixed
tester.sh
exit status - added
LineRegexSearchStrategy
- fixed the routing test by removing the dependency on sf2's DI component
- fixed line break in line content converter's back method
- replaced introduction with tutorial
- replaced architecture details with reference
- added vocabulary (cursor and line)
- added static DIC documentation
- added factory methods documentation
- added
BundleRouting
example - fixed
Editor::addAfter
by moving down the cursor - added
Line
factory method for empty ones - added
Filesystem
factory method to force creation - moved factory methods into
Gnugat\Redaktilo
- removed
Filesystem
'sdetectLineBreak
method - removed
File
'sreadlines
andwritelines
methods - injected
LineContentConverter
into:LineReplaceStrategy
LineSearchStrategy
LineNumberSearchStrategy
- added
LineContentConverter
- added
ContentConverter
- fixed private methods into public static ones
- moved Engines into thei own directory
- added
ReplaceEngine
to comply to the open/closed principle - removed
File
'shasLine
- added a Dependency Injection Container
- added a use case for line presence checking
- added a use case for "documentation reformatting"
- replaced Behat by PHPUnit for automated use cases
- added
SearchEngine
to comply to the open/closed principle
- added line replacement
- added line removal
- added checking of line presence
- added file existence check
- added line break detection
- added
bin/tester.sh
script - moved stateness from
Editor
toFile
- moved classes at the root
- removed interfaces
- compiled documentation
- improved tests
- added jump to methods to Editor
- removed autosave
- added manual save
- added usage documentation
- added use cases documentation
- removed installer
- fixed
openFile
toopen
- fixed Insight analysis 1
- added travis configuration
- added badges on README
- created file opening
- created insertion of line after a given one