Bug 237390 - vim python interface buffer slice assignment broke
Summary: vim python interface buffer slice assignment broke
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-21 19:27 UTC by Scott Tsai
Modified: 2008-02-25 15:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-25 15:55:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Scott Tsai 2007-04-21 19:27:25 UTC
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 15:55:26 UTC
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.