473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

How to make an INDENTATION module.

2
Hi, I am working on a simple word processor. just practising. I can not figure out how to add Indentation feature to this word processor using VC++ and Winform. kindly help plz
Feb 15 '11 #1
3 1751
what on earth do you mean by 'indentation module'?
Feb 16 '11 #2
mobby
2
i mean i have broken my word processor project to modules, indentation will be a feature of this project once i finish it and integrate it with the rest of the project:p
Feb 16 '11 #3
Right, I would call them classes instead of modules. Module is an old VB term.

And this all depends on where you want the indentation to appear. Then searching for this instance and placing a '\t' character after it. If you wanted to indent the line after the user has entered a '{' for example, you would need to send the string of text to this class, the class will detect if the user has entered a '{' followed by a new line, then insert a tab at that position. The text is then copied back to the page where the user is typing.
Feb 17 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Kim Gijung | last post by:
Hi all, I'm planning to make apache module. I made php code. but it's too slow to handle requests for my project. So i'm thinking if i replace php code to c and make apache module then it maybe...
0
by: Scott Chapman | last post by:
I have python modules such as Draco and Mod_Python which follow the python documenting standard. I want these to be one big file rather than tons of small ones, with links working correctly from a...
9
by: ajikoe | last post by:
Hello, I have two modules (file1.py and file2.py) Is that ok in python (without any weird implication) if my module import each other. I mean in module file1.py there exist command import file2...
0
by: Wen | last post by:
Hi guys! I'm writing a small DLL thingy that requieres the use of loading the Python interpreter and executing a series of scripts. I have generated an interface to my dll with SWIG and put it...
3
by: Gary James | last post by:
I'm making a C# library module that has methods & properties that I've commented. I would like these comments to appear in the object browser when the library is used by another .NET application....
1
by: ziad dodin | last post by:
I develped a module that converts money amounts into words; this module is essential in all financial applications like cheques, invoices, bills etc. I need to know in detail how to make it...
32
by: Matias Jansson | last post by:
I come from a background of Java and C# where it is common practise to have one class per file in the file/project structure. As I have understood it, it is more common practice to have many...
1
by: Thammarat charoenchai. | last post by:
Are visual basic have something like Data Module in Delphi? that i can drop component to data module and can call to use that component any where in project Thanks you very much.
6
by: beginner | last post by:
Hi Everyone, Is there any equivalent version of C's static function in Python. I know I can make a class function private by starting a function name with two underscores, but it does not work...
10
by: Hero Doug | last post by:
I was wondering (besided using PHP ;) what in C++ could provide similar functionality to PHP's include(); In PHP you canjust type include() almost anywhere and that file will be included...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.