@@ -516,15 +516,6 @@ def getGetCharacterPointerBody(v, out):
516516 return {1}(charPtr);
517517''' .format (symbolName (v ), v ["ReturnType" ]))
518518
519- def getGetWordCharsBody (v , out ):
520- traceCall (v , out )
521- checkDisallowedInCallback (v , out )
522- out .write (
523- ''' PythonCompatibleStrBuffer result(callScintilla({0}));
524- callScintilla({0}, 0, reinterpret_cast<LPARAM>(*result));
525- return boost::python::str(ScintillaWrapper::iso_latin_1_to_utf8(result.c_str()));
526- ''' .format (symbolName (v )))
527-
528519def standardBody (v , out ):
529520 # We always release the GIL. For standard getters, this shouldn't really be necessary.
530521 # However, it doesn't appear to affect performance to dramatically (yet!), so we'll leave it in until
@@ -627,8 +618,7 @@ def getPythonParamNamesQuoted(param1Type, param1Name, param2Type, param2Name):
627618 'ReleaseDocument' :('void' , '' ,'' , 'intptr_t' , 'doc' , getReleaseDocumentBody ),
628619 'PrivateLexerCall' :('intptr_t' , 'intptr_t' ,'operation' ,'intptr_t' , 'pointer' , getPrivateLexerCallBody ),
629620 'GetCharacterPointer' :('boost::python::str' , '' ,'' ,'' , '' , getGetCharacterPointerBody ),
630- 'GetRangePointer' :('boost::python::str' , 'int' ,'position' ,'int' , 'rangeLength' , getGetRangePointerBody ),
631- 'GetWordChars' :('boost::python::str' , '' ,'' ,'' , '' , getGetWordCharsBody )
621+ 'GetRangePointer' :('boost::python::str' , 'int' ,'position' ,'int' , 'rangeLength' , getGetRangePointerBody )
632622}
633623
634624
0 commit comments