Coda 2 column width limitation/delimiter - coda

I'd love to be able to use Coda 2 as my primary IDE, but my workspace has a 80-character line limitation standard. Is there a way to add a limitation or some sort of visible representation of the 80-character limit in Coda 2?

Related

Applesoft Basic, how to hide the flashing cursor?

I’ve finally decided to build a monthly budget program for an Apple //e, coming along nicely. Right now I’m using the AppleWin emulator.
Anyone know how to hide the cursor in Applesoft Basic? I was thinking of either hiding it using a Poke or change the cursor character to a blank space?
I know that VisiCalc does this, when you load the program, there is no flashing cursor until you begin editing. I want to do this same feature in my program.
Note: I don’t want to do it through the emulator as I will eventually move this to Apple hardware.
I found a solution for this here. Terminal control/Hiding the cursor.
I was able to hide the cursor using the WAIT command, then grab the next character with GET.
WAIT 49152, 128
GET I$
More examples here: Applesoft Basic Examples
VisiCalc is written in assembly language, and so is Applesoft BASIC - and so is the firmware routine that Applesoft calls to get a key while flashing the cursor. You can read the keyboard without flashing the cursor from Applesoft or assembly language, but you need to learn the underlying soft-switches used to do this.
Name Hex Decimal Negative
KBD $C000 49152 -16384
KBDSTRB $C010 49168 -16368
In summary, you read KBD to get the value of the last key pressed. Bit 8 of that value (the 'strobe') will be set if it's a new key - in which case you need to subtract 128 to get the key value. You then access KBDSTRB to clear the strobe bit of KBD. For more details I refer you to page 5 of the Apple II Reference Manual or page 12 of the Apple IIe Technical Reference Manual.
Another good book which talks about this and many other things is The New Apple II User's Guide.
Here's a simple example of how to use these soft-switches:
10 KEY = PEEK (-16384) : REM READ KEY
20 IF KEY >= 128 THEN PRINT PEEK (-16368) : REM CLEAR STROBE
30 GOTO 10
Finally, consider visiting Retrocomputing for these kinds of questions.
Original answer:
There is a undocumented way to do this on Apple IIe
POKE 2043, ASC(" ") + 128
More info: https://www.atarimagazines.com/compute/issue90/Feedback_Custom_Cursor.php
Update
As #Nick Westgate said. This works for Apple IIc and not for Apple IIe.
More info: https://github.com/AppleWin/AppleWin/issues/135

How to display tab numbers

Is there a way to display the tab number in the tab bar?
I enjoy using Alt + 1 or Alt + 2 etc. to switch between open tabs, however it can get taxing to have to count out the tabs (for me anyway). It would be nice if the tabs had numbers.
You might be able to write a plugin for it but there is no such standard feature, as of the latest version, Build 3083, in ST3.
Edit: I would recommend using https://github.com/travmik/ZenTabs to easily manage tabs

Increase recent clipboard pastes in Resharper?

i'm using Resharper 8.2.
Looking at ctrl+shift+v :
There are only 19 entries for history pastes.
Question:
Is there any file edit / setting edit that will allow me to increase the number of history entries ?
Nope, sorry. It's a hard coded limit. If you have that many entries, you might want to store them as some kind of snippet, either by dragging the text snippet to Visual Studio's Toolbox window, or by creating a ReSharper Live Template in the Templates Explorer.

Creating your own LaTeX keyboard layout : 1 key = multiple caracters

I've been looking for the answer for quite some time now. This is a project I have but I can't manage to find a way to do it. The main idea would be to plug an additional keyboard on my computer that write multiple letters by hitting only one key. For example, instead of writing down a (when I hit the a key), it would write \textbf{ (for example).
I already manage to find the keyboard layout file under Linux and to switch the a and b keys, but I cannot find a way to print multiple characters.
I know it exist editors (like Texmaker or Kile) that have auto-completion, but I'm most of the time working in project in groups and therefore we use writelatex.com which does not propose auto-completion in it's free user pack ! Besides, I'm doing that for my personal interest.
Thanks a lot.
Have a look at autokey. It can assign phrases to hotkeys. It requires X11.
Another option might be to use a powerful text editor like vim or emacs which both have features like this, and then copy/paste the text into writelatex.com.
Some browsers have add-ons that allow you to edit the contents of a text field on a web page with a chosen text editor.
Edit: In Xorg you can use the X KeyBoard extension to e.g. change the meaning of individual keys. While you can configure the keyboard to generate (multibyte) unicode characters, you cannot assign arbitraty character strings to one key, to the best of my knowledge.

Block code formatting in Coda 2

Despite the bad reviews, I've decided to splurge on Coda 2. There is a feature I can't seem to find though - code formatting on existing code.
In Sublimetext 2 you can highlight a block of code, and with a few key strokes, have it automatically format / indent. I don't see this in Coda 2. Does it exist?
You may need to use a plugin to accomplish it:
http://www.chipwreck.de/blog/software/coda-php/

Resources