Bug 237390 - vim python interface buffer slice assignment broke
vim python interface buffer slice assignment broke
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-21 15:27 EDT by Scott Tsai
Modified: 2008-02-25 10:55 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-25 10:55:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Scott Tsai 2007-04-21 15:27:25 EDT
Description of problem:
vim has a python interface that allows programmatic access to the current editor
buffer. 
:py vim.current.buffer[:] = [ 'test' ]
Used to be able to reset the buffer contents to only one line 'test' in fc6,
now it appends the line 'test'.

Version-Release number of selected component (if applicable):
vim-enhanced-7.0.224-3.fc7

How reproducible:
always

Steps to Reproduce:
1. vim
2. :py import vim
3. :py vim.current.buffer[:] = [ 'test' ]
4. :py vim.current.buffer[:] = [ 'test' ]
  
Actual results:
test
test

Expected results:
test

Additional info:
Comment 1 Karsten Hopp 2008-02-25 10:55:26 EST
works in the current rawhide package vim-7.1-242

Note You need to log in before you can comment on or make changes to this bug.