• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sample MultiColumn Text Code Posted - With BUG!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sample MultiColumn Text Code Posted - With BUG!


  • Subject: Sample MultiColumn Text Code Posted - With BUG!
  • From: Steve Sheets <email@hidden>
  • Date: Mon, 9 Dec 2002 16:22:13 -0500

HELP!

I have posted ThreeColumnTextViewSample at my website (http://members.aol.com/magesteve/sourcecode.html). This is a work in process, i.e. it currently is buggy. As you can read below, ThreeColumnTextViewSample is a program to demonstate Cocoa Text engine, specifically the multicolumn text ability. Could someone who is good with the text engine take a look at this? My program crashes outside my code when the text engine is doing some background calculations. I do not know what to do at this point!

Again the site is:

http://members.aol.com/magesteve/sourcecode.html

Please read below for a better description of the problem.

Thanks,

Steve Sheets
Midnight Mage Software
email@hidden

----

ThreeColumnTextViewSample is a program to demonstate Cocoa Text engine. It uses the custom view MFThreeColumnTextView to display a scrollable view containing multicolumn selectable text (ie. read only, not editable). The user can set it for 1-3 columns, and various font sizes, the view is redrawn with the new settings. The text is broken up by page (using the default printer page size), 1-3 columns to the page. MFThreeColumnTextView supports headers and footers (including ones with page number & date information).

MFThreeColumnTextView was working, but I changed something, and now crashes when you after you startup. After the code has initialize, outside my code, the application generates a "ThreeColumnTextSampler has exited due to signal 11 (SIGSEGV)." error. Cocoa Text engine handles some of it's calcuation on the fly, outside my event loop, so obviously I am setting something up incorrectly that causes the crash outside of my code.

PLEASE any help with the program would be appreciated. The final bug free code will be posted.

----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Sample MultiColumn Text Code Posted - With BUG!
      • From: Scott Anguish <email@hidden>
    • Re: Sample MultiColumn Text Code Posted - With BUG!
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Drawing a view inside an image
  • Next by Date: Re: Subject: Re: Cocoa Book OT
  • Previous by thread: Re: Drawing a view inside an image
  • Next by thread: Re: Sample MultiColumn Text Code Posted - With BUG!
  • Index(es):
    • Date
    • Thread