How do I find if a string contains html data or not? (note: user provides input via rich:editor and its quite possible he could have used either a simple text or used html formatting)
I've only ever learned to "program" with notepad when I was learning to create batch files in Windows.
I would appreciate if you can explain to me the benefits of working with an IDE over a text editor or vice versa. Please don't give emotional responses or argue someone else's suggestion/advice. I use Linux primarily. Also, I would like to be able to make programs that can be used in Windows, but programmed in Linux. Thanks.
I can define my custom scope:
[AttributeUsage(AttributeTargets.Property)]
public sealed class SiteScopedSettingAttribute : SettingAttribute
{
}
How do I use it in the Visual Studio Settings editor (make it available in the "Scope" combobox)?
i am running a query from vba editor access:
"select max(somerow) from sometable"
i want to put the result of this query into a variable. how do i do it?
Hello
I'm looking for a piece of relatively simple software to browse large C++ project. What I would like is something that is somewhere between a simple text editor and a full-blown IDE like Eclipse. I would like syntax highlighting, a way to see all classes/methods defined in a file, a way to find where a particular method is called from and where a variable is declared/defined.
Any ideas?
Thank you!
Hi i am developing game level editor.Currently I am using win32 with directX.But with win32 I cant achieve fully object oriented implementation.So I am thinking to develop it in MFC.
Will it be better option than win32?
Which technology(MFC/Win32) is widely used in industry?
Also which technology is most suitable for my project?
I'm aware of this topic: I've used it to change most of the editor colors, and that's great.
But that wasn't enought, there's still too much white (and I need to change it because it hurts my eyes).
I've searched in the preferences (both using Eclipse itself and editing the files) for instances of while (255,255,255) and changed them all. Looks like I'm missing something.
too much white in the UI:
http://www.imagebanana.com/view/gy89qf7/eclipse_too_much_white_1.png
totally white in this screen:
http://www.imagebanana.com/view/j8282wf/eclipse_too_much_white_2.png
In one of my forms I use the rich text editor from Yahoo!.
Now i want to store the data from that textarea in a MySQL database.
The user can enter anything in that textarea, e.g. many double or single quotes.
How can I store that data?
Normally we store by adding that data in one variable and then put that in sql, but the quotes cause problems.
I use whereis matlab and find:
/usr/local/bin/matlab
, which is a very long bash file.
How can I find where matlab is installed, I mean, its installed folder.
EDIT:
I used the following method:
open matlab and use edit svds.m to open the svds.m file and the editor shows the folder:)
Why is it that if you open up an EXE in a hex editor, you will see all sorts of things. If computers only understand binary then shouldn't there only be 2 possible symbols seen in the file? Thanks
Hi,
I'm trying to make wysiwyg editor with content editable divs and I'm inserting html with document.execCommand('insertHTML', false, html); but the problem is, when i insert link, and then i want to write after it continues to write INSIDE that link.
EXAMPLE:
how it does now:
Hello, stackoverflow.com MyTextAfterLink
how it should be:
Hello, stackoverflow.com MyTextAfterLink
How could i fix this? Thanks.
I've committed myself to diving into vim to become faster at writing code for ruby/python and I'm having a hard time navigating around files.
Mainly, I'm referring to switching between insert mode and navigation modes. Maybe I'm just not completely used to the editor yet but it feels very awkward to constantly be switching in and out of insert mode.
Is this something that will go away with time? Are there any tricks to getting quicker at moving in and out of insert mode?
I've turned on somehow in eclipse hidden characters. It's not he the "whitspace" characters in the general editor preferences. If I turn them on, then it adds ANOTHER layer of hidden chars over the existing one.
They have things like
\r\n
Anyone know what these are.. how to remove?
I've been working in Delphi 7 for the last 6 years now and have learnt to merely submit to the instablity of the IDE. For example, there are particular projects I've inherited which, when working on, I cannot use the CTRL+SPACE dropdown symbol list in the Delphi editor without getting an Access Violation error, this would easily top my list but there are many more. I'd like to know which bugs frustrate you the most.
My project currently contains two largish property lists. One is currently 20KB; another is 8KB. So far, I have been maintaining them with xCode's property list editor. This is manageable but also a bit clunky. I am wondering if other people have better ways of doing this?
So far, my lists consist of nested arrays of strings. The depth is not uniform.
I found so far iCode as a code Editor.
Remotedesktop, and mides IDE (PHP).
Goodreader for my dev. Ebooks.
Are there any other must haves for developers?
I am using Xinha editor with Jquery 1.4.2 and cannot use the UI components in IE 8.
Other browsers work great!
include the following scripts:
jstree also throws a 'data not included' exception (which stumps me since it works without including the xinha library)
Is there a way to find the conflict with Xinha and either work-around or resolve it for IE 8 using 1.4.2 jquery
thanks please let me know if you need more info.
Is there any possibility to connect webservice using Lua Language in Scite editor? Otherwise Please help me how to connect webservice with Lua Language.
I've got two web sites (written in c#) which are pretty common:
One is an admin site (cms) where you add images into content as needed, through editor pages.
Second is the site where the content with images is shown.
Images should be stored outside these two sites but where and how?
Should this bar on the HTML designer show the tag name? It sometimes does!
Here's an image of what I referring to.
I thought for sure it must be a bug but considering that I heard that MS was rewriting the editor (designer too?) I am starting to question whether I know how to use it!
I'm building a new site that consists entirely of:
8-10 pages of static content that rarely changes (like once every few months or once every year)
An image gallery
Since I don't plan to be the primary maintainer of the site, I'd like to use a CMS with some security and a WYSIWYG editor so non-web-savvy people can tweak the site when necessary.
I started out using Drupal, but started wondering if it was overkill. So, two questions: 1) is it overkill? 2) What CMS would you recommend for a project this simple?
Hi,
I want to run C# programs on my HTC Magic, I can find the mono app on the Android market but I have no clue on how to run C# using.
The code is just for fun, I don't want official support and such. After coding Visual Basic on windows mobile, I really want to code C# on Android, whether directly using some sort of editor if exists, or compiling it on a PC then installing it on Android.
If anyone knows a way to do such please let me know.
Thank you
I am using Netbeans 6.8 for PHP (under Windows 7) and the subversion integration doesn't work. I am able to checkout a module but I don't see the subversion features in the menus or the outine in the editor left margin that shows the changes in the files. I am using it under Ubuntu with no problems.
Did any of you experimented the same problem? If yes, were you able to make it work?
Thanks!
In every modern day IDE and text editor, there is an action to open a file without putting your hand on the mouse. For example:
Eclipse: Cmd|Ctrl+Shift+R - Open Resource
IntellIJ: Cmd|Ctrl+Shift+N - Open File
TextMate: Cmd+T - Go to File
In Xcode, I have found no such options. Please, please tell me I just overlooked it in my growing frustration.
Is there a "Go to file" or "Open File" shortcut in Xcode?