Révision 954

tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/editors/ConcordanceEditor.java (revision 954)
719 719
								@Override
720 720
								public void run() {
721 721
									StatusLine.setMessage(TXMUIMessages.SORT_DONE);
722
									fillDisplayArea();
722
									try {
723
										refresh(false);
724
									} catch (Exception e1) {
725
										// TODO Auto-generated catch block
726
										e1.printStackTrace();
727
									}
723 728
								}
724 729
							});
725 730

  
......
1101 1106
			@Override
1102 1107
			public void widgetSelected(SelectionEvent arg0) {
1103 1108
				concordance.setTopIndex(0);
1104
				fillDisplayArea();
1109
				try {
1110
					refresh(false);
1111
				} catch (Exception e1) {
1112
					// TODO Auto-generated catch block
1113
					e1.printStackTrace();
1114
				}
1105 1115
			}
1106 1116
		});
1107 1117

  
......
1117 1127
				if (top < 0)
1118 1128
					top = 0;
1119 1129
				concordance.setTopIndex(top);
1120
				fillDisplayArea();
1130
				try {
1131
					refresh(false);
1132
				} catch (Exception e1) {
1133
					// TODO Auto-generated catch block
1134
					e1.printStackTrace();
1135
				}
1121 1136
			}
1122 1137
		});
1123 1138

  
......
1130 1145
			@Override
1131 1146
			public void widgetSelected(SelectionEvent e) {
1132 1147
				concordance.setTopIndex(concordance.getTopIndex() + concordance.getNLinePerPage());
1133
				fillDisplayArea();
1148
				try {
1149
					refresh(false);
1150
				} catch (Exception e1) {
1151
					// TODO Auto-generated catch block
1152
					e1.printStackTrace();
1153
				}
1134 1154
			}
1135 1155
		});
1136 1156

  
......
1145 1165
				int top = (concordance.getNLines()/concordance.getNLinePerPage())*concordance.getNLinePerPage();
1146 1166
				int bottom = top + concordance.getNLinePerPage() -1;
1147 1167
				concordance.setTopIndex(top);
1148
				fillDisplayArea();
1168
				try {
1169
					refresh(false);
1170
				} catch (Exception e1) {
1171
					// TODO Auto-generated catch block
1172
					e1.printStackTrace();
1173
				}
1149 1174
			}
1150 1175
		});
1151 1176

  

Formats disponibles : Unified diff