in:Search and Replace (since 3.10)
*TARGETEND* (non inheritable): sets and gets the end of target. If set 0,
target end will be the last position of text.
But in the iupsci_searching.c is:
static int iScintillaSetTargetEndAttrib(Ihandle* ih, const char* value)
{
int end = -1;
iupStrToInt(value, &end);
if (end < 0) end = (int)IupScintillaSendMessage(ih, SCI_GETTEXTLENGTH, 0,
0);
IupScintillaSendMessage(ih, SCI_SETTARGETEND, end, 0);
return 0;
}
Look like we need Set < 0, target end will be the last position of text.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users