Sublime Forum

Point definition

#1

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))

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])

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)

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??

0 Likes

#2

thanks!

0 Likes