O'Reilly logo

Extreme Programming Adventures in C# by Ron Jeffries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Dark Clouds on the Horizon

When Chet and I were pairing, we found a test that didn’t communicate. Working on that, I thought of a bigger problem. The Shift+Enter idea is breaking a fundamental assumption of our program! This could get ugly!

We’re in Big Trouble, Guys![1]

My plan today was to clean up and publish the previous chapter about Shift+Enter. I was thinking about it while showering, and I realized that we’ve got a big problem. Up until now, the basic idea of the TextModel object is that every line begins and ends with the same tag. The paragraphs aren’t made up of lots of separate lines with a <P> on the first line and a </P> on the last: they are just one line. So our InsertParagraphTag() method just inserts a line after the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required