text

Java component for chunking arbitrary text into groups of 4x20 pages

I'm looking for a component that can take a string of arbitrary length and chop it up into "pages" for display on a 4x20 (4 lines, 20 chars per line) LCD. I'd like to add some smarts to the formatting, such that it will try to not break words at the end of the display (except for very long words), not start a new line with a space char,...

iPhone OpenGl render text

Does anyone know how can i render a string on the iphone? Its for displaying my frame per second with =p ...

Entering text into a textbox that doesn't belong to your application (C#/.NET)

So, I was just wondering how I could enter text into a text box on a web page with a windows application. Almost like a reverse screen scrape. I know I have read somewhere about being able to do this but, I completely forgot how he did it. I think he may have been using Win32 DLLs which might be a fun endeavor but, getting off-topic n...

obtaining text from a QListView

Hey, I have a pointer to a third party QListView object, wich is simply displaying rows of text. What is the best way of getting a hold of that string of text? thanks, Dave ...

Search and highlight any text on a WPF Window with many type of controls

This is basically implementing search/find in a WPF window or User control. Let's say you have a WPF window with dynamic readonly text some on textblock, some in a listbox, some in treeview, some in textblocks etc. The user should be able to type in a search term in a textbox on the top and be able to see it highlighted wherever and in ...

How do I add background text or image to BIRT report ?

I have to add text or background image as "DRAFT" for report when it match certain condition.I have to dynamically enable or display birt report back ground text ? I am looking forward to hear any ideas. Thanks In Advance. Thillakan. ...

Bash (Mac): edit file and some if commands.

Hello, i want that my bash script does the following: It finds a file, for example: hello.txt It searches for a specific text in the file, for example: hey If it is found, continue to the next thing, if it isn't found, write the text on a new line & continue to the next thing. Can anyone give me the script for this? EDIT: Also i w...

is it possible to have different colors of text in a textbox or listbox?

Hi I'm not sure if it's possible. I wrote a code like this: listBox1.Items.Add("There are " + countu.ToString().Trim() + " u's"); listBox1.Font = new Font("Arial", 12, FontStyle.Bold); listBox1.ForeColor = Color.Violet; listBox1.Items.Add("There are " + j.ToString().Trim() + " vowels"); listBox1.ForeColor = Color.Blue; When I execut...

Changing the highlight color of text in Flash with ActionScript 2.

I've got several input text fields, and my design requirement is to have gold text on a black background that, when highlighted, is black text on a gold background; however, Flash's default selected text highlight color scheme is white text on a black background and there is no way to change this. Does anyone have any workarounds that a...

MS Access 2003 - Importing a Text File into MS Access Database Table

At work we have this reporting tool. It is distributed to everyone as a MDE tool that is locked up pretty good (VBA is unviewable, cannot import any of the table, query, forms, etc). When each person fills out their applicable portion there is a button that conslidates it into a text file, and then sends it to Outlook. Then everyone emai...

What should a front end developer expect from a copywriter?

I'm working on a site and the client has hired a copy writer to supply the text... which has been an absolute nightmare. I'm wondering, what is an acceptable level of service one could expect from a copy writer who has been asked to write copy specifically for the web. Is it unreasonable to expect them to have some basic markup skills,...

Babylon Text Select

How does Babylon recognize text selection in any software? I've to implement this. Maybe it's possible with API Hook? Thanks. ...

In C#, how can I grab the selected text from any software?

Possible Duplicate: Babylon Text Select Like Babylon. When you click on a word, it grabs the text. How can I do this? Thanks. ...

Make text transparent in Shoes.app

Is there a way in Shoes to have text show up transparent? I have: Shoes.app{ para "Text", :stroke => rgb(1.0,0.0,0.0,0.5), :size => 100 } But it's just showing up 100% red. I know opacity works for fill, does it also work for stroke? (I am developing with Shoes Raisins Revision 1134 on Mac OS X 10.4.11) Thanks in advance ...

How might I remove duplicate lines from a file?

I have a file with one column. How to delete repeated lines in a file? ...

Looking for a JS library to move text

Hi, I'm looking for a javascript library that will allow me to drag text over an image with some resize handles that will automatically wrap the text. I've tried doing some searches but don't think I'm using the right search terms. I'm hoping someone has come accross simliar functionality before. Thanks :) ...

Simple CakePHP text markup solution for editing news posts

When first searching the web for a simple CakePHP way to convert small news posts (written by a non-technician) I found the flay method in TextHelper. However it turned out that it has been deprecated, referencing to TextileHelper w/ SmartyPants. Textile indeed seems to be a very competent markup language. Nevertheless, I'm afraid it i...

html text box that automatically adds characters

Hey guys I'm trying to make a HTML text box that: 1) only accepts numbers 2) after 3 digits, adds a '.' 3) after 6 digits, adds another '.' So for example, by only typing numbers, you'll get 555.323.7637 4) If you're after a '.', like '555.', then a backspace would change it to '55'. I've been googling around but don't know the exact ...

Getting Sitemap is HTML from Google Webmaster Tool

[Note to the wise: jump to last EDIT] I have a very simple txt sitemap (named sitemap.txt) that looks like this: http://myDomain.com http://myDomain.com/about.html http://myDomain.com/faq.html http://myDomain.com/careers.html When I load it up on webmaster tools I get: Sitemap is HTML - Your Sitemap appears to be an HTML page. Plea...

How can i align text directly beneath an image?

i used to know how to put an image up on top and then justify the text below the image to stay within the borders of the width of the photo and now i have no idea how to do this, help please? oh sorry, html! ...