I would like to convert some programs from Windows. The programs use the Windows API (would work from Windows 95 to Windows XP) and are heavily text-based. One important part converts a mouse- click in a text window to the nearest line number and character ordinal position, for example line 3 at character position 189. This is easy to do under Windows; just receive and interpret a few event messages sent by Windows to the text window (procedure). Q1. is mouse-click to character-coordinate conversion similar?, easy to do under Mac OS X? I am a total Mac OS newbie and do not even own a a Mac (mini). Will go out and buy one if the answer to Q1 is affirmative!