[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    RE:  Re: feature request
From:       "Leuven, E." <E.Leuven () uva ! nl>
Date:       2006-04-08 19:35:17
Message-ID: D1B515FFD30A1B4289F6E13EA363CAFDA17D92 () struik ! uva ! nl
[Download RAW message or body]


> Use needsUpdateCounters. See text2.C for example.

i had a look at it and was wondering about the following

	case LABEL_ITEMIZE:
		setCounter(buf, it);
		return false;


what happens in setCounter(,)? if needsUpdateCounters() only *checks* =
for the type of layout (and whether we need a counter update) nothing =
should happen here right?

am i also right in thinking that i only need to updateCounters if the 2 =
pars that i am swapping both contain a counter?

so i need to update counters if i swap 2 section headings or move up an =
enumerate item, but not if i move down a section heading...

i am therefore wondering: do i need this setCounter() each time when i =
check whether i need a counter update? and does it interfere with the =
swapping?

thanks, edwin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic