Home Download Buy Blog Forum Support

point definition

point definition

Postby vim on Tue Sep 16, 2008 4:24 am

i am trying to build an auto-format plugin, so i try using syntaxName(point), but what is 'point', i tried the following but i get error message in the console:

view.syntaxName((12,10))
Code: Select all
Boost.Python.ArgumentError: Python argument types in
    View.line(View, tuple)
did not match C++ signature:
    line(class slate::SP<class TextBuffer::View>, class SelectionRegion)
    line(class slate::SP<class TextBuffer::View>, __int64)


view.syntaxName([12,10])
Code: Select all
Boost.Python.ArgumentError: Python argument types in
    View.line(View, list)
did not match C++ signature:
    line(class slate::SP<class TextBuffer::View>, class SelectionRegion)
    line(class slate::SP<class TextBuffer::View>, __int64)


view.syntaxName(12,10)
Code: Select all
Boost.Python.ArgumentError: Python argument types in
    View.line(View, int, int)
did not match C++ signature:
    line(class slate::SP<class TextBuffer::View>, class SelectionRegion)
    line(class slate::SP<class TextBuffer::View>, __int64)


help??
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: point definition

Postby vim on Wed Sep 17, 2008 2:45 pm

thanks!
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 23 guests