#8556: [StyledEdit] increases window number even if previous one was closed ---------------------------------------+---------------------------- Reporter: diver | Owner: korli Type: bug | Status: closed Priority: normal | Milestone: R1 Component: Applications/StyledEdit | Version: R1/Development Resolution: invalid | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ---------------------------------------+---------------------------- Comment (by bonefish): Replying to [comment:4 diver]: > Terminal manages to do that: http://cgit.haiku- os.org/haiku/tree/src/apps/terminal/TermWindow.cpp#n191 It's even more complicated in Terminal, since it is multi-launch. StyledEdit can indeed just iterate over its windows. Or a simple allocator with free list could be implemented. -- Ticket URL: <http://dev.haiku-os.org/ticket/8556#comment:5> Haiku <http://dev.haiku-os.org> Haiku - the operating system.