Search results

  1. S

    tab-completing code editor

    Hey everybody, I'm nearly done with my latest project: a code editor with scope aware tab completion. It's got most of the features other editors have and works about the same. Only difference that you probably couldn't figure out from looking at the menus is that since now a tab completes...
  2. S

    Formatters in IB

    You have to subclass NSFormatter, instantiate it, and then connect the text field's "formatter" attribute to it. Then, to have it do your specific kind of formatting, I think you just have to override some of NSFormatter's methods. URL for formatting info...
  3. S

    BC Spreadsheet 1.1 beta and a question

    The reason I want to is that the focus starts on the matrix of cells, with the arrow keys moving around. When the user hits something that isn't an arrow key though, the focus should go up to the formula entry box. Thanks, I'll look for that.
  4. S

    BC Spreadsheet 1.1 beta and a question

    Yeah, that's what I've been doing. I'd prefer being able to drop the cursor there without selecting though.
  5. S

    BC Spreadsheet 1.1 beta and a question

    Hey all, First a question: does anyone know how to set the cursor position in a text field? Or how to move the focus - like make the user move from editing one text field to editing another through code? Anyway, I finally got around to doing an update. Over the last couple days I...
  6. S

    Menubar

    I've never done it, but the cocoa classes you use to get menus up there are NSStatusItem and NSStatusBar.
  7. S

    Can't force no untitled documents

    My memory is pretty hazy on this, but if I remember right, there's some kind of conspiracy between NSApplication, the application-wide NSOpenPanel, and your document class that does the openDocument: thing. The way I would do this, which is admittedly sloppy, ugly, and likely immoral (but...
  8. S

    Argh

    I think this happens to most programming message boards - there just isn't that much people can help each other with. I think most of us are still learning obj-c, which gives us a bit to converse about, but beyond that, when people write programs, there may be a class or two they need to find...
  9. S

    Why? Why? [ ] Why? Why not . ???

    I hate the []'s too. In theory, it's a pretty and clear way to separate things, whereas a string of .'s has no visual delineation of which result of which method is having the next method called on it. The reason I HATE []'s though is that it requires you to figure out before hand how...
  10. S

    Perl compiler for mac?? Win?

    In the perl docs, it claims you can compile a script to a binary, but I've never tried it. At the terminal, do "man perlcompile" and it will give you about 10 pages on it. I only read the first page or so, but it looks kind of complicated. In my experience everything runs fast enough just...
  11. S

    Problems...

    I looked it over, and the debugger didn't catch the SIGBUS, which makes me suspect the problem is happening somewhere in the applescript stuff. I've never done anything with applescript though, so I don't even know where to look in it. I think if the problem was anywhere in the obj-C though the...
  12. S

    Beta Testers Needed. Now!

    Well everybody, I'm planning to submit this for the design awards tomorrow night, as after a month of giving up hours of sleep to this, I want to make sure everything goes okay. So, any final feedback would be greatly appreciated. Same link, and thanks a lot for all the help everybody's...
  13. S

    application:openFile problems

    I don't know. I did that on my desktop and it worked fine, but I'm trying it now on my laptop and it's not working.
  14. S

    Problems...

    Uhh... no suggestion but to run the debugger and find out what line those two things happen on. I usually SIGBUS's when I try to use a variable without initializing it.
  15. S

    application:openFile problems

    Okay, here's what you do: In the targets's "appication settings"/Document types, create one with "*" as the extension and make sure to set the Document class to the file you want to open it. Then it will let you open everything.
  16. S

    Beta Testers Needed. Now!

    Hey everybody. I just changed the icon for my app! Huzzah! I'm not much of an artist. Except drawing robot monkeys - but I do that by hand, this whole computer drawing thing is beyond me. Anyway, same link as before: http://homepage.mac.com/gotterdamn/BCSpreadsheet.dmg.gz and I also...
  17. S

    application:openFile problems

    Does your app not light up when you drag stuff over it, or does it just fail to open them? If it doesn't even light up, make sure you have the target's "application settings"/"document types" filled out with all the things you want to be able to open - I'm pretty sure that's where the OS gets...
  18. S

    Beta Testers Needed. Now!

    seb2: Dude, your app rocks! Takes 1/10 the time of sherlock. My only suggestion would be opening a little information window the first time it gets started on a machine to suggest to people that they update their database - first time I ran it mine wasn't updated and I couldn't figure out why I...
  19. S

    Beta Testers Needed. Now!

    Hey whitesaint, those videos rocked. The icon one was really good. Seb2: I hope you win, man - flying you in from germany would be such a better use of the scholarship. My parents live in Cupertino and I go down there every month or two anyway. What's your app do? Anyway, BC Spreadsheet is...
  20. S

    Problems...

    Well, I'd suggest getting rid of the assertion. If you defined just one document type in the "Target"/"application settings" place, then the Open dialog will only let the user open one kind of file, so you shouldn't need to check what kind it is.
Back
Top