Questions tagged [notepad]

Notepad is a simple text editor for Microsoft Windows. Use this tag for issues relating to interfacing with Notepad and/or duplicating Notepad functionality.

Notepad is a simple text editor for Microsoft Windows. It has been included in all versions of Microsoft Windows since Windows 1.0 in 1985.

787 questions
4
votes
1 answer

Block Select in TextBox/RichTextBox

I'm developing a notepad clone. I would like to implement a block select as in textpad (vertical selection). How would I do that? EDIT: I don't know what kind of detail should be added to this question. However this is my code. I need to add block…
Amsakanna
  • 12,254
  • 8
  • 46
  • 58
3
votes
10 answers

What development notepad should I use?

I need recommendations for a good (free) development notepad to work in on my new macbook, mainly for PHP, AJAX etc.
user114752
3
votes
3 answers

How to get Vim to correctly display file instead of showing ^@ characters

I have a file which shows different things in Notepad and Vim. The file displays normally under Windows Notepad: Strange character are added to each character when using Vim. Anyone know how to dismiss those strange character in Vim under Windows…
TheOneTeam
  • 25,806
  • 45
  • 116
  • 158
3
votes
3 answers

File exists in Windows Explorer and notepad, but is not accessable in my program

Why does the following problem happen? Scenario: Make sure that IIS is installed Execute "notepad %WINDIR%\System32\inetsrv\config\applicationHost.config" using admin account Actual Result: the file is successfully opened in notepad Execute the…
Alen Pelin
  • 66
  • 6
3
votes
4 answers

Notepad++ REGEX find and replace second-last slash

I have a big textfile with multiple paths like the following examples. The paths are always different. I'm looking for a regex (find and replace) in Notepad++ to replace the second-last "/" with…
syslog
  • 33
  • 4
3
votes
1 answer

One-line browser notepad without rich text

There is this trick around to turn the browser into a notepad by pasting a single line into the URL bar: data:text/html, Since the search function is excellent in most browsers (marks all occurrences of the searched word),…
ProjectPhysX
  • 4,535
  • 2
  • 14
  • 34
3
votes
4 answers

Kotlin android studio holder.itemview issue

im trying to make this mobile note taking app based on a tut i followed on youtube his does not have this error ive watched over and over i have a file called NotesAdapter holder.itemView.titleTV.text = notesList[position]!!.title …
Brett Hudson
  • 51
  • 1
  • 7
3
votes
1 answer

Stop notepad from opening multiple same instances

How do I open only one instance of the same text file using Windows Notepad (Not Notepad++)? For example right now if I open my notes.txt, it opens an instance, but if I click and open the same notes.txt again, it opens another same instance thus…
jxStackOverflow
  • 328
  • 1
  • 7
  • 17
3
votes
0 answers

Browse for Folder/File dialog from a WPF app on Windows Server Core

I want to be able to browse for folders and file in a WPF app that is running on Windows Server Core. The default way, using FolderBrowserDialog shows the dialog but the main display panel, selecting folders, is not showing. I've used…
3
votes
1 answer

Should the tutorial Notepadv3 close its database?

Android’s Notepad tutorial Notepadv3 opens its database but never explicitly closes it. To make it correct, should Notepadv3 close its database, presumably with mDbHelper.close(); and, if so, where should that line of code appear? Updated with a…
Mike Green
  • 2,031
  • 2
  • 18
  • 16
3
votes
1 answer

UIAutomation method ElementFromPoint() retrieves an incorrect element from Notepad on Windows 10

We are developing a C# Windows Forms App and use UI Automation to record user activity. Our app declares its DPI-awareness as Per-monitor, so the system doesn't lie to it with coordinate virtualization. On Windows 10 we ran into an issue with…
Kangaxx
  • 61
  • 5
3
votes
2 answers

Replace characters, (alternative to SED), using a batch file

I want to replace all , in a text File with . via Batch. Actually I just need an alternative for this command sed.exe "s/,/./g" $clearances.txt$ > $clearance_out.txt$ Problem is sed.exe is not installed on every PC I want to use this on so I plan…
Mark
  • 33
  • 1
  • 3
3
votes
2 answers

Notepad++ copy/paste part of each line with replace

I am wondering if we can do the following with notepad++. I have an exhaustive list of all countries in the word, this is small part of it: Afghanistan : '', Albania : '', Algeria : '', American Samoa : '', Andorra : '', Angola : '', Anguilla :…
Hussein Salman
  • 7,806
  • 15
  • 60
  • 98
3
votes
0 answers

Convert .csv into .xlsx (JavaScript/CMD/Notepad)

I have a script (JS) which returns me a .csv-file (comma separated). It works perfectly fine. I can convert the .csv into a .xmls via Excel manually. However I would like this to be done by a script/command line. Is something like this possible? I…
Faizy
  • 299
  • 2
  • 12
3
votes
6 answers

Copy Data from Excel to Notepad

I copy data from Excel to Notepad using the SendKeys Excel VBA function. I'm looking to avoid using the sendkeys. I have this code: sub test() dim wb as Workbook set wb = "C:\Documents\test.xlsx" wb.Sheets(2).Range("C2:C" & lRow).Copy …
user6632933