GtkEntryAccessible: port from GailTextUtil to GtkPango
Also clean up and rearrange the code. As a side-effect, the no-longer-existing stipple attributes are dropped. Update test results to match.
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -39,7 +39,6 @@ struct _GtkEntryAccessible
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  GailWidget parent;
 | 
					  GailWidget parent;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  GailTextUtil *textutil;
 | 
					 | 
				
			||||||
  /*
 | 
					  /*
 | 
				
			||||||
   * These fields store information about text changed
 | 
					   * These fields store information about text changed
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
 | 
				
			|||||||
@ -158,12 +158,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
@ -242,12 +240,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
@ -359,12 +355,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
@ -450,12 +444,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
@ -541,12 +533,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
@ -632,12 +622,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
@ -723,12 +711,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
@ -814,12 +800,10 @@ window1
 | 
				
			|||||||
              caret offset: 0
 | 
					              caret offset: 0
 | 
				
			||||||
              default attributes: bg-color: <omitted>
 | 
					              default attributes: bg-color: <omitted>
 | 
				
			||||||
                                  bg-full-height: 0
 | 
					                                  bg-full-height: 0
 | 
				
			||||||
                                  bg-stipple: false
 | 
					 | 
				
			||||||
                                  direction: <omitted>
 | 
					                                  direction: <omitted>
 | 
				
			||||||
                                  editable: false
 | 
					                                  editable: false
 | 
				
			||||||
                                  family-name: <omitted>
 | 
					                                  family-name: <omitted>
 | 
				
			||||||
                                  fg-color: <omitted>
 | 
					                                  fg-color: <omitted>
 | 
				
			||||||
                                  fg-stipple: false
 | 
					 | 
				
			||||||
                                  indent: 0
 | 
					                                  indent: 0
 | 
				
			||||||
                                  invisible: false
 | 
					                                  invisible: false
 | 
				
			||||||
                                  justification: left
 | 
					                                  justification: left
 | 
				
			||||||
 | 
				
			|||||||
@ -30,12 +30,10 @@ window1
 | 
				
			|||||||
      caret offset: 0
 | 
					      caret offset: 0
 | 
				
			||||||
      default attributes: bg-color: <omitted>
 | 
					      default attributes: bg-color: <omitted>
 | 
				
			||||||
                          bg-full-height: 0
 | 
					                          bg-full-height: 0
 | 
				
			||||||
                          bg-stipple: false
 | 
					 | 
				
			||||||
                          direction: <omitted>
 | 
					                          direction: <omitted>
 | 
				
			||||||
                          editable: false
 | 
					                          editable: false
 | 
				
			||||||
                          family-name: <omitted>
 | 
					                          family-name: <omitted>
 | 
				
			||||||
                          fg-color: <omitted>
 | 
					                          fg-color: <omitted>
 | 
				
			||||||
                          fg-stipple: false
 | 
					 | 
				
			||||||
                          indent: 0
 | 
					                          indent: 0
 | 
				
			||||||
                          invisible: false
 | 
					                          invisible: false
 | 
				
			||||||
                          justification: left
 | 
					                          justification: left
 | 
				
			||||||
@ -72,12 +70,10 @@ window1
 | 
				
			|||||||
      caret offset: 0
 | 
					      caret offset: 0
 | 
				
			||||||
      default attributes: bg-color: <omitted>
 | 
					      default attributes: bg-color: <omitted>
 | 
				
			||||||
                          bg-full-height: 0
 | 
					                          bg-full-height: 0
 | 
				
			||||||
                          bg-stipple: false
 | 
					 | 
				
			||||||
                          direction: <omitted>
 | 
					                          direction: <omitted>
 | 
				
			||||||
                          editable: false
 | 
					                          editable: false
 | 
				
			||||||
                          family-name: <omitted>
 | 
					                          family-name: <omitted>
 | 
				
			||||||
                          fg-color: <omitted>
 | 
					                          fg-color: <omitted>
 | 
				
			||||||
                          fg-stipple: false
 | 
					 | 
				
			||||||
                          indent: 0
 | 
					                          indent: 0
 | 
				
			||||||
                          invisible: false
 | 
					                          invisible: false
 | 
				
			||||||
                          justification: left
 | 
					                          justification: left
 | 
				
			||||||
 | 
				
			|||||||
@ -71,12 +71,10 @@ window1
 | 
				
			|||||||
      caret offset: 0
 | 
					      caret offset: 0
 | 
				
			||||||
      default attributes: bg-color: <omitted>
 | 
					      default attributes: bg-color: <omitted>
 | 
				
			||||||
                          bg-full-height: 0
 | 
					                          bg-full-height: 0
 | 
				
			||||||
                          bg-stipple: false
 | 
					 | 
				
			||||||
                          direction: <omitted>
 | 
					                          direction: <omitted>
 | 
				
			||||||
                          editable: false
 | 
					                          editable: false
 | 
				
			||||||
                          family-name: <omitted>
 | 
					                          family-name: <omitted>
 | 
				
			||||||
                          fg-color: <omitted>
 | 
					                          fg-color: <omitted>
 | 
				
			||||||
                          fg-stipple: false
 | 
					 | 
				
			||||||
                          indent: 0
 | 
					                          indent: 0
 | 
				
			||||||
                          invisible: false
 | 
					                          invisible: false
 | 
				
			||||||
                          justification: left
 | 
					                          justification: left
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user