Skip to content

Commit

Permalink
Removed settings from buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
zoli committed Jan 21, 2015
1 parent 56d95a2 commit 966115e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ type (
Buffer interface {
InnerBufferInterface
IdInterface
SettingsInterface

// DEPRECATED! Use AddObserver instead! Add a BufferChangedCallback to the buffer
AddCallback(cb BufferChangedCallback) error
Expand Down Expand Up @@ -123,7 +122,6 @@ type (

buffer struct {
HasId
HasSettings
SerializedBuffer
changecount int
name string
Expand Down Expand Up @@ -402,9 +400,6 @@ func (b *buffer) Word(offset int) Region {
}

seps := "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?"
if v, ok := b.Settings().Get("word_separators", seps).(string); ok {
seps = v
}
spacing := " \n\t\r"
eseps := seps + spacing

Expand Down

0 comments on commit 966115e

Please sign in to comment.