I'm not aware of such a feature (then again I haven't used CE Pro a
lot). If you don't manage, get a tracker program such as modplug and
have it loop the fragment for you by importing a wav of the track part
to play along with as a sample.
You should then be able to play along with the tracker which is looping
playback, while CoolEdit is doing linear recording.