Lines Matching defs:tabArrayPtr
53 TkTextTabArray *tabArrayPtr;/* Locations and types of tab stops (may
300 TkTextTabArray *tabArrayPtr, int index,
339 TkTextTabArray *tabArrayPtr, int index, int x,
506 styleValues.tabArrayPtr = textPtr->tabArrayPtr;
592 styleValues.tabArrayPtr = tagPtr->tabArrayPtr;
750 TkTextTabArray *tabArrayPtr; /* Tab stops for line; taken from
792 tabArrayPtr = NULL;
829 tabArrayPtr = chunkPtr->stylePtr->sValuePtr->tabArrayPtr;
924 AdjustForTab(textPtr, tabArrayPtr, tabIndex, tabChunkPtr);
929 tabSize = SizeOfTab(textPtr, tabArrayPtr, tabIndex, x, maxX);
993 AdjustForTab(textPtr, tabArrayPtr, tabIndex, tabChunkPtr);
4598 * stop given by tabArrayPtr and index.
4604 AdjustForTab(textPtr, tabArrayPtr, index, chunkPtr)
4607 TkTextTabArray *tabArrayPtr; /* Information about the tab stops
4640 if ((tabArrayPtr == NULL) || (tabArrayPtr->numTabs == 0)) {
4650 if (index < tabArrayPtr->numTabs) {
4651 alignment = tabArrayPtr->tabs[index].alignment;
4652 tabX = tabArrayPtr->tabs[index].location;
4659 if (tabArrayPtr->numTabs > 1) {
4660 prev = tabArrayPtr->tabs[tabArrayPtr->numTabs-2].location;
4664 alignment = tabArrayPtr->tabs[tabArrayPtr->numTabs-1].alignment;
4665 tabX = tabArrayPtr->tabs[tabArrayPtr->numTabs-1].location
4666 + (index + 1 - tabArrayPtr->numTabs)
4667 * (tabArrayPtr->tabs[tabArrayPtr->numTabs-1].location - prev);
4777 * be occupied by the index'th tab of tabArrayPtr, assuming that
4789 SizeOfTab(textPtr, tabArrayPtr, index, x, maxX)
4792 TkTextTabArray *tabArrayPtr; /* Information about the tab stops
4798 * used if tabArrayPtr == NULL. */
4805 if ((tabArrayPtr == NULL) || (tabArrayPtr->numTabs == 0)) {
4809 if (index < tabArrayPtr->numTabs) {
4810 tabX = tabArrayPtr->tabs[index].location;
4811 alignment = tabArrayPtr->tabs[index].alignment;
4818 if (tabArrayPtr->numTabs > 1) {
4819 prev = tabArrayPtr->tabs[tabArrayPtr->numTabs-2].location;
4823 tabX = tabArrayPtr->tabs[tabArrayPtr->numTabs-1].location
4824 + (index + 1 - tabArrayPtr->numTabs)
4825 * (tabArrayPtr->tabs[tabArrayPtr->numTabs-1].location - prev);
4826 alignment = tabArrayPtr->tabs[tabArrayPtr->numTabs-1].alignment;