Révision 3415

TXM/trunk/org.txm.groovy.core/src/groovy/org/txm/macro/transcription/AddSectionsFromTableV2Macro.groovy (revision 3415)
245 245
			foundSection = null;
246 246
			for (int i = iSection ; i < sections.size() ; i++) {
247 247
				// if section_end < turn_start OU |turn_start - section_end| < turn_threshold
248
				if (sections[i][1] < start || Math.abs(start - sections[i][1]) < turnsCutActivationThreashold) { // Turn is before section
248
				if (sections[i][1] < start || Math.abs(start - sections[i][1]) < turnsCutActivationThreashold) { // Turn is after section
249 249
					// Cas 1 : la section est complètement avant (modulo la marge)
250 250
				} else {
251 251
					// Cas 2 : on est arrivés à la section à considérer

Formats disponibles : Unified diff