The first draft of my novels/short stories/poetry is generally longhand. I edit and type at the same time, producing a second draft.
For my journal entries, I write and research at roughly the same time, digging for the proper information as I decide I need it. I always have the relevant IMDB page up at the same time; it's simpler.
"Now everyone was giving her that kind of look UFOlogists get when they suddenly say, 'Hey, if you shade your eyes you can see it is just a flock of geese after all.'"
"You can't erase icing."
"I can't believe it doesn't work! I found it on the internet, man!"